Skip to content

Simplify the check

Simplify the check #7

Workflow file for this run

name: Filename Check
on: [push]
jobs:
check-filenames:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Check for capital letters in filenames in 'doc/manual'
run: |
files_with_caps=$(find doc/manual -type f | grep '[A-Z]')
if [ ! -z "$files_with_caps" ]; then
echo "Files with capital letters:"
echo "$files_with_caps"
exit 1
fi