Browse Source

Ignore exit codes for formatters (#15276)

pull/15319/head
Joel Challis 2 years ago
committed by GitHub
parent
commit
e73d22d7f1
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 4 deletions
  1. +3
    -4
      .github/workflows/format.yaml

+ 3
- 4
.github/workflows/format.yaml View File

@ -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…
Cancel
Save