2024-03-01 08:24:07 +01:00
|
|
|
default:
|
|
|
|
echo 'Hello, world!'
|
|
|
|
|
|
|
|
# Update a specific flake input
|
|
|
|
update input:
|
|
|
|
nix flake lock --update-input {{input}} --commit-lock-file
|
|
|
|
|
|
|
|
# Amend Update flake.lock PR
|
|
|
|
flake-pr:
|
2024-03-29 13:13:16 +01:00
|
|
|
git branch -D update_flake_lock_action || echo "no previous update branch"
|
|
|
|
gix fetch -r origin
|
2024-03-01 08:24:07 +01:00
|
|
|
git switch update_flake_lock_action
|
|
|
|
git commit --amend --no-edit
|
|
|
|
git push origin update_flake_lock_action --force-with-lease
|