aboutsummaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorJoel Challis <git@zvecr.com>2021-11-20 22:45:12 +0000
committerGitHub <noreply@github.com>2021-11-20 22:45:12 +0000
commit739bf6211227254db5f8786df0c57f257d72cc78 (patch)
tree89cc594f62916fd8d96256a6e0ec4f1d191921d9 /.github
parent2d71ac7541e81ae4313cecc7e7597d45f9a96809 (diff)
downloadqmk_firmware-739bf6211227254db5f8786df0c57f257d72cc78.tar.gz
qmk_firmware-739bf6211227254db5f8786df0c57f257d72cc78.zip
Tidy CI format error message (#15242)
* Tidy format error message
Diffstat (limited to '.github')
-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 645e0ce10..2a309e0af 100644
--- a/.github/workflows/format.yaml
+++ b/.github/workflows/format.yaml
@@ -39,11 +39,12 @@ jobs:
39 qmk format-c --core-only $(< ~/files.txt) 39 qmk format-c --core-only $(< ~/files.txt)
40 qmk format-python $(< ~/files.txt) 40 qmk format-python $(< ~/files.txt)
41 qmk format-text $(< ~/files.txt) 41 qmk format-text $(< ~/files.txt)
42 git diff
43 42
44 - name: Fail when formatting required 43 - name: Fail when formatting required
45 run: | 44 run: |
45 git diff
46 for file in $(git diff --name-only); do 46 for file in $(git diff --name-only); do
47 echo "::error file=${file}::::File Requires Formatting" 47 echo "File '${file}' Requires Formatting"
48 echo "::error file=${file}::Requires Formatting"
48 done 49 done
49 test -z "$(git diff --name-only)" 50 test -z "$(git diff --name-only)"