Skip to content

Commit

Permalink
add Check file names step
Browse files Browse the repository at this point in the history
  • Loading branch information
szepeviktor committed Jun 28, 2024
1 parent 26dfc86 commit 4c49764
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 @@ -42,6 +42,12 @@ jobs:
-
name: "Checkout repository"
uses: "actions/checkout@v4"
-
name: "Check file names"
run: |
! git ls-tree -r -t -z --name-only HEAD \
| xargs --null --max-args=1 -- basename \
| grep --perl-regexp '[^-.0-9A-Z_a-z]|\.\.'
-
name: "Check file permissions"
run: |
Expand Down

0 comments on commit 4c49764

Please sign in to comment.