diff --git a/.github/workflows/update-data.yml b/.github/workflows/update-data.yml index 6055d57..4c85cef 100644 --- a/.github/workflows/update-data.yml +++ b/.github/workflows/update-data.yml @@ -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: