mirror of
https://github.com/qmk/qmk_firmware
synced 2024-11-17 17:35:30 +00:00
Merge remote-tracking branch 'origin/master' into develop
This commit is contained in:
commit
12ece58f53
1 changed files with 3 additions and 2 deletions
5
.github/workflows/format.yaml
vendored
5
.github/workflows/format.yaml
vendored
|
@ -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)"
|
||||
|
|
Loading…
Reference in a new issue