Skip to content

Commit

Permalink
Ignore exit codes for formatters (qmk#15276)
Browse files Browse the repository at this point in the history
  • Loading branch information
zvecr authored and tacahiroy committed Nov 26, 2021
1 parent 8525ea7 commit c32535c
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/format.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,10 @@ jobs:
- name: Run qmk formatters
shell: 'bash {0}'
run: |
set +e
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)
qmk format-c --core-only $(< ~/files_changed.txt) || true
qmk format-python $(< ~/files_changed.txt) || true
qmk format-text $(< ~/files_changed.txt) || true
- name: Fail when formatting required
run: |
Expand Down

0 comments on commit c32535c

Please sign in to comment.