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 branch 'master' of https://github.com/qmk/qmk_firmware
* 'master' of https://github.com/qmk/qmk_firmware: (154 commits) Fix typo in freebsd_install.sh (qmk#9655) [Keymap] Add Alice rev2 to my userspace (qmk#9600) [Keyboard] RART67 : add support via (qmk#9589) [Keyboard] XD87 Caps Lock LED refactor (qmk#9585) [Keyboard] Updated VIA Support for DP60 (qmk#9508) fixed link to Eclipse instructions (qmk#9647) format code according to conventions [skip ci] add DIP_SWITCH_MATRIX_GRID support (qmk#8772) add SPLIT_HAND_MATRIX_GRID support (qmk#8685) [Keyboard] Gowla Macro Board (qmk#9643) Fix “G” in Neo2 keymap (qmk#9645) Rotr - Updated README and default keymap (qmk#9598) Add missing dependency for Void Linux to util/linux-install.sh (qmk#9637) Backlight docs wordsmithing (qmk#9631) Fix incorrect layout for GHS.rar (qmk#9597) Add movement hook to ps2_mouse (qmk#8805) Make sendstring respect `TAP_CODE_DELAY` (qmk#9623) [Keymap] Adding a Custom Keymap for Matrix Noah (qmk#9581) Fix sharing of mouse button state from mousekeys to ps2_mouse (qmk#9124) Add xjtian keymap for Planck (qmk#9502) ...
- Loading branch information
Showing
704 changed files
with
38,815 additions
and
4,109 deletions.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
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 | ||
|
||
- name: Print info | ||
run: | | ||
git rev-parse --short HEAD | ||
echo ${{ github.event.pull_request.base.sha }} | ||
git diff --name-only ${{ github.event.pull_request.base.sha }}... | ||
- name: Run qmk info | ||
shell: 'bash {0}' | ||
run: | | ||
QMK_CHANGES=$(git diff --name-only ${{ github.event.pull_request.base.sha }}...) | ||
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 -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
Large diffs are not rendered by default.
Oops, something went wrong.
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.