Skip to content

Commit 4296f5d

Browse files
committed
squash-me, add check for uncommited generated files
1 parent 4f684e6 commit 4296f5d

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/code-quality.yaml

+5-1
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,15 @@ jobs:
1616

1717
- name: Check there aren't any modified files present
1818
run: |
19-
if [[ $(git ls-files . -d -m -o --exclude-standard --full-name -v | tee /dev/tty | wc -l) -gt 0 ]]; then
19+
if [[ $(git ls-files . -d -m -o --exclude-standard --full-name -v | tee modified.log | wc -l) -gt 0 ]]; then
2020
echo "There are changed files"
2121
exit 1
2222
fi
2323
24+
- name: Print modified files
25+
if: ${{ failure() }}
26+
run: cat modified.log
27+
2428
code-static-analysis:
2529
runs-on: ubuntu-latest
2630
steps:

0 commit comments

Comments
 (0)