CI: Use `git status --porcelain` to verify no changes
`git diff -s --exit-code` will detect changes to tracked files, but doesn't detect untracked files.
This commit is contained in:
parent
3174db5d00
commit
053edd9e33
|
@ -33,4 +33,4 @@ jobs:
|
||||||
run: ./regenerate.sh ${{ matrix.kind }} ${{ matrix.extension }}
|
run: ./regenerate.sh ${{ matrix.kind }} ${{ matrix.extension }}
|
||||||
|
|
||||||
- name: Verify there are no changes
|
- name: Verify there are no changes
|
||||||
run: git diff -s --exit-code
|
run: test -z "$(git status --porcelain)"
|
||||||
|
|
Loading…
Reference in New Issue