-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Andreas Kern <[email protected]>
- Loading branch information
1 parent
346334c
commit 667dd74
Showing
1 changed file
with
24 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |