ci: fix diff check
This commit is contained in:
parent
7d096ee786
commit
d84a52f063
1 changed files with 1 additions and 1 deletions
2
.github/workflows/update-flake-inputs.yml
vendored
2
.github/workflows/update-flake-inputs.yml
vendored
|
|
@ -74,7 +74,7 @@ jobs:
|
|||
|
||||
- name: Check for changes
|
||||
id: check
|
||||
run: echo modified=$(git diff --exit-code flake.lock && echo 'false' || echo 'true') >> $GITHUB_OUTPUT
|
||||
run: echo modified=$(git diff --exit-code flake.lock &>/dev/null && echo 'false' || echo 'true') >> $GITHUB_OUTPUT
|
||||
|
||||
- name: Commit and push changes
|
||||
if: steps.check.outputs.modified == 'true'
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue