Skip to content

Commit

Permalink
ci: use --commit-changes with nvfetcher
Browse files Browse the repository at this point in the history
  • Loading branch information
getchoo authored and Liassica committed Apr 10, 2024
1 parent 8e86548 commit 896b554
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/update-lock.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 896b554

Please sign in to comment.