Ignore deleted files when formatting codebase (#15274)

This commit is contained in:
Joel Challis 2021-11-23 00:49:18 +00:00 committed by GitHub
parent dbc7b53517
commit 155076889a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -36,9 +36,10 @@ jobs:
- name: Run qmk formatters
shell: 'bash {0}'
run: |
qmk format-c --core-only $(< ~/files.txt)
qmk format-python $(< ~/files.txt)
qmk format-text $(< ~/files.txt)
cat ~/files_added.txt ~/files_modified.txt > ~/files_changed.txt
qmk format-c --core-only $(< ~/files_changed.txt)
qmk format-python $(< ~/files_changed.txt)
qmk format-text $(< ~/files_changed.txt)
- name: Fail when formatting required
run: |