forked from qmk/qmk_firmware
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'upstream/master' into master
* upstream/master: (1255 commits) Fix config for Helix rev3 4rows (qmk#10641) Update other_vscode.md of Japanese document (qmk#10604) Fix issues with suspend code for ZSA split boards (qmk#10640) Update reviung34 PRODUCT_ID (qmk#10480) Whitefox refactor (qmk#10175) Fix for issue qmk#10386 - Can't compile preonic:dudeofawesome (qmk#10557) Update Japanese document (qmk#10607) [Docs] Japanese translation of docs/pr_checklist.md (qmk#10415) [Keyboard] Add Voyager60-Alps keyboard (qmk#10516) [Keymap] Add own KBD67 MKII keymap (qmk#10532) [Keyboard] Update to ZSA Boards (qmk#10119) [Keyboard] update boot-mode method for EVE Meteor docs (qmk#10453) [Keyboard] Melgeek mj63 (qmk#10424) [Keyboard] update keymap of zergo keyboard (qmk#10402) Update tags to check for document updates (qmk#10606) updating my own keyboard layout (qmk#10626) Fix typo within debounce documentation (qmk#10600) Add STM32Duino to bootloader selection (qmk#10558) Remove bootloader_defs.h for some F072 boards (qmk#10582) Partial fix for sendstring_french.h (qmk#10623) ...
- Loading branch information
Showing
6,479 changed files
with
306,724 additions
and
59,372 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
name: PR Lint keyboards | ||
|
||
on: | ||
pull_request: | ||
paths: | ||
- 'keyboards/**' | ||
|
||
jobs: | ||
info: | ||
runs-on: ubuntu-latest | ||
|
||
container: qmkfm/base_container | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
with: | ||
fetch-depth: 0 | ||
|
||
- uses: trilom/[email protected] | ||
id: file_changes | ||
with: | ||
output: '\n' | ||
|
||
- name: Print info | ||
run: | | ||
git rev-parse --short HEAD | ||
echo ${{ github.event.pull_request.base.sha }} | ||
echo '${{ steps.file_changes.outputs.files}}' | ||
- name: Run qmk info | ||
shell: 'bash {0}' | ||
run: | | ||
QMK_CHANGES=$(echo -e '${{ steps.file_changes.outputs.files}}') | ||
QMK_KEYBOARDS=$(qmk list-keyboards) | ||
exit_code=0 | ||
for KB in $QMK_KEYBOARDS; do | ||
KEYBOARD_CHANGES=$(echo "$QMK_CHANGES" | grep -E '^(keyboards/'${KB}'/)') | ||
if [[ -z "$KEYBOARD_CHANGES" ]]; then | ||
# skip as no changes for this keyboard | ||
continue | ||
fi | ||
KEYMAP_ONLY=$(echo "$KEYBOARD_CHANGES" | grep -cv /keymaps/) | ||
if [[ $KEYMAP_ONLY -gt 0 ]]; then | ||
echo "linting ${KB}" | ||
# TODO: info info always returns 0 - right now the only way to know failure is to inspect log lines | ||
qmk info -l -kb ${KB} 2>&1 | tee /tmp/$$ | ||
!(grep -cq ☒ /tmp/$$) | ||
: $((exit_code = $exit_code + $?)) | ||
fi | ||
done | ||
exit $exit_code |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.