Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
Signed-off-by: Andreas Kern <[email protected]>
  • Loading branch information
andreaskern74 committed Feb 27, 2024
1 parent 0b2b4ec commit 0e18e16
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/filename-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:

- name: Check filenames for Windows compatibility # currently restricted to doc folder
run: |
with_capitals=$(find ./doc -type f \( -iname "*.md" -o -iname "*.png" \) | grep -E '/[A-Z]')
with_capitals=$(find doc -type f \( -iname "*.md" -o -iname "*.png" \) | grep -E '/[A-Z]')
with_invalid_chars=$(find . -type f | grep -E '[<>:"/\\|?*]|[[:cntrl:]]')
if [ ! -z "$with_capitals" ] || [ ! -z "$with_invalid_chars" ]; then
echo "The following files do not follow the naming convention:"
Expand Down

0 comments on commit 0e18e16

Please sign in to comment.