diff --git a/.github/workflows/reusable-integrity.yml b/.github/workflows/reusable-integrity.yml index c5c457a..8126957 100644 --- a/.github/workflows/reusable-integrity.yml +++ b/.github/workflows/reusable-integrity.yml @@ -45,6 +45,12 @@ jobs: - name: "Checkout repository" uses: "actions/checkout@v3.6.0" + - + 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: |