ci: use --commit-changes with nvfetcher
This commit is contained in:
parent
2a6c437a05
commit
4a8e1cdd07
1 changed files with 2 additions and 5 deletions
7
.github/workflows/update-lock.yml
vendored
7
.github/workflows/update-lock.yml
vendored
|
@ -46,11 +46,8 @@ jobs:
|
|||
|
||||
- name: Update upstream sources
|
||||
run: |
|
||||
nix run --inputs-from ./dev nixpkgs#nvfetcher
|
||||
|
||||
if ! git diff --color=always --exit-code; then
|
||||
git commit -am "chore: update nvfetcher sources"
|
||||
fi
|
||||
nix run --inputs-from ./dev \
|
||||
nixpkgs#nvfetcher -- --commit-changes
|
||||
|
||||
- name: Make PR if needed
|
||||
env:
|
||||
|
|
Loading…
Reference in a new issue