summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorQMK Bot <hello@qmk.fm>2021-11-20 22:45:49 +0000
committerQMK Bot <hello@qmk.fm>2021-11-20 22:45:49 +0000
commit12ece58f535a3a087ff5f22ee2eca9f6769c3cac (patch)
tree4b275072acb6f18fb2352312048e3fa671385472
parentb47bdee93c5dc39353477126abd344476c736132 (diff)
parent739bf6211227254db5f8786df0c57f257d72cc78 (diff)
Merge remote-tracking branch 'origin/master' into develop
-rw-r--r--.github/workflows/format.yaml5
1 files changed, 3 insertions, 2 deletions
diff --git a/.github/workflows/format.yaml b/.github/workflows/format.yaml
index 645e0ce106..2a309e0afd 100644
--- a/.github/workflows/format.yaml
+++ b/.github/workflows/format.yaml
@@ -39,11 +39,12 @@ jobs:
qmk format-c --core-only $(< ~/files.txt)
qmk format-python $(< ~/files.txt)
qmk format-text $(< ~/files.txt)
- git diff
- name: Fail when formatting required
run: |
+ git diff
for file in $(git diff --name-only); do
- echo "::error file=${file}::::File Requires Formatting"
+ echo "File '${file}' Requires Formatting"
+ echo "::error file=${file}::Requires Formatting"
done
test -z "$(git diff --name-only)"