mirror of
https://github.com/srid/nixos-config.git
synced 2025-12-27 07:44:58 +08:00
Useful to force push in a PR so as to trigger github actions, as with flake-lock-update action created PRs.
14 lines
275 B
Nix
14 lines
275 B
Nix
{ nuenv, curl, jq, ... }:
|
|
|
|
nuenv.writeShellApplication {
|
|
name = "touchpr";
|
|
runtimeInputs = [ curl jq ];
|
|
meta.description = ''
|
|
Force push to a PR so as to trigger GitHub Actions
|
|
'';
|
|
text = ''
|
|
#!/usr/bin/env nu
|
|
|
|
${builtins.readFile ./touchpr.nu}
|
|
'';
|
|
}
|