Skip to content

Commit

Permalink
Ignore exit codes for formatters
Browse files Browse the repository at this point in the history
  • Loading branch information
zvecr committed Nov 23, 2021
1 parent 6f425c8 commit bd329f5
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 bd329f5

Please sign in to comment.