Skip to content

Commit

Permalink
Add file name check
Browse files Browse the repository at this point in the history
  • Loading branch information
szepeviktor authored Oct 8, 2023
1 parent f1c750a commit e336f1b
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/reusable-integrity.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,12 @@ jobs:
-
name: "Checkout repository"
uses: "actions/[email protected]"
-
name: "Check file names"
run: |
git ls-tree -r -t -z --name-only HEAD \
| xargs -0 -n 1 -- basename \
| grep -P '[^-.0-9A-Z_a-z]'
-
name: "Check file permissions"
run: |
Expand Down

0 comments on commit e336f1b

Please sign in to comment.