Skip to content

Commit

Permalink
Ignore img directory when checking whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
ma595 committed Nov 8, 2024
1 parent 5fa8659 commit 9859f6d
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/formatting.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,16 @@ jobs:
with:
args: "format --check"

- name: Find files excluding certain directories
id: find_files
run: |
FILES=$(find . -type f ! -path "./png/*" )
echo "FILES=$FILES" >> $GITHUB_ENV
- name: Find Trailing Whitespace
uses: harupy/find-trailing-whitespace@master
run:
files: ${{ env.FILES }}

- name: Install yamlfmt
run: |
Expand Down

0 comments on commit 9859f6d

Please sign in to comment.