mirror of
https://github.com/qmk/qmk_firmware
synced 2024-11-18 01:46:09 +00:00
Ignore exit codes for formatters (#15276)
This commit is contained in:
parent
6f425c8aa6
commit
e73d22d7f1
1 changed files with 3 additions and 4 deletions
7
.github/workflows/format.yaml
vendored
7
.github/workflows/format.yaml
vendored
|
@ -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: |
|
||||
|
|
Loading…
Reference in a new issue