Skip to content

Commit

Permalink
ci: Remove flake.lock from Git as well
Browse files Browse the repository at this point in the history
  • Loading branch information
akirak committed Sep 27, 2023
1 parent 8110274 commit 8c72e14
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/update-data.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,16 @@ jobs:
- name: Update the definitions
run: nix develop -c just

- name: Prevent flake.lock from being committed
run: rm -f flake.lock

- name: Check the output
run: |
nix flake check
nix eval .#data --json | jq
- name: Prevent flake.lock from being committed
run: |
rm -f flake.lock
git rm -f --cached flake.lock
- name: Create Pull Request
uses: peter-evans/create-pull-request@v5
with:
Expand Down

0 comments on commit 8c72e14

Please sign in to comment.