Skip to content

Commit

Permalink
scriptcheck.yml: fail scriptcheck step if changed and unversioned f…
Browse files Browse the repository at this point in the history
…iles exist afterwards
  • Loading branch information
firewave committed Dec 11, 2024
1 parent e62e444 commit 89cffec
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/scriptcheck.yml
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,17 @@ jobs:
env:
PYTHONPATH: ./tools

- name: Show all ignored files
if: false # TODO: currently lists all the contents of ignored folders - we only need what actually matched
run: |
git ls-files --others --ignored --exclude-standard
- name: Check for changed and unversioned files
run: |
# TODO: how to do this with a single command?
git status --ignored=no
git status --ignored=no | grep -q 'working tree clean'
dmake:
strategy:
matrix:
Expand Down

0 comments on commit 89cffec

Please sign in to comment.