Skip to content

Commit

Permalink
Add filename convention check
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 346334c commit 667dd74
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/filename-check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Filename Check

on: [push]

jobs:
check-filenames:
runs-on: ubuntu-latest
defaults:
run:
shell: bash
working-directory: .
steps:
- uses: actions/checkout@v4
- name: Check for capital letters in filenames in 'doc/manual'
run: |
echo "Hello"
all_files=$(find doc/manual -type f)
echo $all_files
files_with_caps=$("find doc/manual -type f | grep -E '[A-Z]'")
echo $files_with_caps
# if [ ! -z "$files_with_caps" ]; then
# echo "Files with capital letters:"
# echo "$files_with_caps"
# fi

0 comments on commit 667dd74

Please sign in to comment.