summaryrefslogtreecommitdiff
path: root/.github/workflows/format.yaml
diff options
context:
space:
mode:
authorJoel Challis <git@zvecr.com>2021-11-23 01:40:53 +0000
committerGitHub <noreply@github.com>2021-11-23 01:40:53 +0000
commite73d22d7f1ebbd03cab95b42b01428d3b9a03200 (patch)
tree97b8896416f4dba05e2c5020713e859ac71e020f /.github/workflows/format.yaml
parent6f425c8aa67c0036c002ee3aa24a81887d31ccfe (diff)
downloadqmk_firmware-e73d22d7f1ebbd03cab95b42b01428d3b9a03200.tar.gz
qmk_firmware-e73d22d7f1ebbd03cab95b42b01428d3b9a03200.zip
Ignore exit codes for formatters (#15276)
Diffstat (limited to '.github/workflows/format.yaml')
-rw-r--r--.github/workflows/format.yaml7
1 files changed, 3 insertions, 4 deletions
diff --git a/.github/workflows/format.yaml b/.github/workflows/format.yaml
index 59c3d7511e..f1525526ce 100644
--- a/.github/workflows/format.yaml
+++ b/.github/workflows/format.yaml
@@ -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: |