Merge remote-tracking branch 'origin/master' into develop

master
QMK Bot 2021-11-20 22:45:49 +00:00
commit 12ece58f53
1 changed files with 3 additions and 2 deletions

View File

@ -39,11 +39,12 @@ jobs:
qmk format-c --core-only $(< ~/files.txt) qmk format-c --core-only $(< ~/files.txt)
qmk format-python $(< ~/files.txt) qmk format-python $(< ~/files.txt)
qmk format-text $(< ~/files.txt) qmk format-text $(< ~/files.txt)
git diff
- name: Fail when formatting required - name: Fail when formatting required
run: | run: |
git diff
for file in $(git diff --name-only); do 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 done
test -z "$(git diff --name-only)" test -z "$(git diff --name-only)"