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'
* upstream/master: (1520 commits) [Keymap] Add 'mattir' keymap for the Kyria keyboard (qmk#11428) [Keymap] tk planck keymap (qmk#11400) Add support for the DURGOD Taurus K320 keyboard (qmk#11399) [Keyboard] Add Quefrency Rev. 3 (qmk#11578) [Keyboard] Knobgoblin keyboard initial commit (qmk#11664) [Keyboard] Fix for LEDs on PocketType (qmk#11671) [Keymap] Update Program Yoink Ortho Split Layout (qmk#11675) [Keyboard] Add RGB Matrix support for The Mark:65 (qmk#11676) Remove redundant I2C config defines from keyboards (qmk#11661) [Keyboard] Add layout to torn keyboard (qmk#11684) Change VID/PID for Zinc (qmk#11681) Fix midi for CRKBD (qmk#11644) Add jones v.0.3 and v.0.3.1 keyboard (qmk#11130) [Keymap] addition for mjuma in keyboards/planck/keymaps (qmk#10885) Increased dynamic keymap layers in via keymap (qmk#11575) Fix preonic layout documentation (qmk#11655) Add VIA support for dm9records/tartan (qmk#11666) fix(feature_ps2_mouse): fix Scroll Button example (qmk#11669) Update docs/getting_started_make_guide.md (qmk#11373) Fix number RGB RART4x4 dan matrix pin RART45 (qmk#11582) ...
- Loading branch information
Showing
9,562 changed files
with
411,809 additions
and
76,846 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
core: | ||
- quantum/**/* | ||
- tmk_core/**/* | ||
- drivers/**/* | ||
- tests/**/* | ||
- util/**/* | ||
- platforms/**/* | ||
- Makefile | ||
- '*.mk' | ||
dependencies: | ||
- any: | ||
- 'lib/**/*' | ||
- '!lib/python/**/*' | ||
keyboard: | ||
- any: | ||
- 'keyboards/**/*' | ||
- '!keyboards/**/keymaps/**/*' | ||
keymap: | ||
- users/**/* | ||
- layouts/**/* | ||
- keyboards/**/keymaps/**/* | ||
via: | ||
- keyboards/**/keymaps/via/* | ||
cli: | ||
- bin/qmk | ||
- requirements.txt | ||
- lib/python/**/* | ||
python: | ||
- '**/*.py' | ||
documentation: | ||
- docs/**/* | ||
translation: | ||
- docs/fr-fr/**/* | ||
- docs/es/**/* | ||
- docs/ja/**/* | ||
- docs/he-il/**/* | ||
- docs/pt-br/**/* | ||
- docs/zh-cn/**/* | ||
- docs/de/**/* | ||
- docs/ru-ru/**/* | ||
CI: | ||
- .github/**/* |
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,42 @@ | ||
name: Update API Data | ||
|
||
on: | ||
push: | ||
branches: | ||
- master | ||
paths: | ||
- 'keyboards/**' | ||
- 'layouts/community/**' | ||
|
||
jobs: | ||
api_data: | ||
runs-on: ubuntu-latest | ||
container: qmkfm/base_container | ||
|
||
# protect against those who develop with their fork on master | ||
if: github.repository == 'qmk/qmk_firmware' | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
with: | ||
fetch-depth: 1 | ||
persist-credentials: false | ||
|
||
- name: Generate API Data | ||
run: qmk generate-api | ||
|
||
- name: Install rsync | ||
run: | | ||
apt-get update && apt-get install -y rsync | ||
- name: Upload API Data | ||
uses: JamesIves/github-pages-deploy-action@3.7.1 | ||
with: | ||
ACCESS_TOKEN: ${{ secrets.API_TOKEN_GITHUB }} | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
BRANCH: main | ||
FOLDER: api_data/v1 | ||
CLEAN: true | ||
GIT_CONFIG_EMAIL: hello@qmk.fm | ||
REPOSITORY_NAME: qmk/qmk_keyboards | ||
TARGET_FOLDER: v1 |
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,33 @@ | ||
name: Essential files modified | ||
|
||
on: | ||
push: | ||
branches: | ||
- master | ||
paths: | ||
- quantum/**/* | ||
- tmk_core/**/* | ||
- drivers/**/* | ||
- tests/**/* | ||
- util/**/* | ||
- platforms/**/* | ||
- Makefile | ||
- '*.mk' | ||
|
||
jobs: | ||
tag: | ||
runs-on: ubuntu-latest | ||
|
||
# protect against those who develop with their fork on master | ||
if: github.repository == 'qmk/qmk_firmware' | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
with: | ||
fetch-depth: 0 | ||
|
||
- name: Bump version and push tag | ||
uses: anothrNick/github-tag-action@1.26.0 | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
DEFAULT_BUMP: 'patch' |
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,42 @@ | ||
name: Update Develop API Data | ||
|
||
on: | ||
push: | ||
branches: | ||
- develop | ||
paths: | ||
- 'keyboards/**' | ||
- 'layouts/community/**' | ||
|
||
jobs: | ||
api_data: | ||
runs-on: ubuntu-latest | ||
container: qmkfm/base_container | ||
|
||
# protect against those who work in their fork on develop | ||
if: github.repository == 'qmk/qmk_firmware' | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
with: | ||
fetch-depth: 1 | ||
persist-credentials: false | ||
|
||
- name: Generate API Data | ||
run: qmk generate-api | ||
|
||
- name: Install rsync | ||
run: | | ||
apt-get update && apt-get install -y rsync | ||
- name: Upload API Data | ||
uses: JamesIves/github-pages-deploy-action@3.7.1 | ||
with: | ||
ACCESS_TOKEN: ${{ secrets.API_TOKEN_GITHUB }} | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
BRANCH: main | ||
FOLDER: api_data/v1 | ||
CLEAN: true | ||
GIT_CONFIG_EMAIL: hello@qmk.fm | ||
REPOSITORY_NAME: qmk/qmk_keyboards_devel | ||
TARGET_FOLDER: v1 |
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,37 @@ | ||
name: Update develop after master merge | ||
|
||
on: | ||
push: | ||
branches: | ||
- master | ||
|
||
|
||
jobs: | ||
develop_update: | ||
runs-on: ubuntu-latest | ||
|
||
if: github.repository == 'qmk/qmk_firmware' | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
with: | ||
fetch-depth: 0 | ||
|
||
- name: Checkout develop | ||
run: | | ||
git fetch origin master develop | ||
git checkout develop | ||
- name: Check if branch locked | ||
id: check_locked | ||
uses: andstor/file-existence-action@v1 | ||
with: | ||
files: ".locked" | ||
|
||
- name: Update develop from master | ||
if: steps.check_locked.outputs.files_exists == 'false' | ||
run: | | ||
git config --global user.name "QMK Bot" | ||
git config --global user.email "hello@qmk.fm" | ||
git merge origin/master | ||
git push origin develop |
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,43 @@ | ||
name: Generate Docs | ||
|
||
on: | ||
push: | ||
branches: | ||
- master | ||
paths: | ||
- 'tmk_core/**' | ||
- 'quantum/**' | ||
- 'platforms/**' | ||
- 'docs/**' | ||
- '.github/workflows/docs.yml' | ||
|
||
jobs: | ||
generate: | ||
runs-on: ubuntu-latest | ||
container: qmkfm/base_container | ||
|
||
# protect against those who develop with their fork on master | ||
if: github.repository == 'qmk/qmk_firmware' | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
with: | ||
fetch-depth: 1 | ||
|
||
- name: Install dependencies | ||
run: | | ||
apt-get update && apt-get install -y rsync nodejs npm doxygen | ||
npm install -g moxygen | ||
- name: Build docs | ||
run: | | ||
qmk --verbose generate-docs | ||
- name: Deploy | ||
uses: JamesIves/github-pages-deploy-action@3.7.1 | ||
with: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
BASE_BRANCH: master | ||
BRANCH: gh-pages | ||
FOLDER: .build/docs | ||
GIT_CONFIG_EMAIL: hello@qmk.fm |
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,37 @@ | ||
name: Format Codebase | ||
|
||
on: | ||
push: | ||
branches: | ||
- master | ||
|
||
jobs: | ||
format: | ||
runs-on: ubuntu-latest | ||
container: qmkfm/base_container | ||
|
||
# protect against those who develop with their fork on master | ||
if: github.repository == 'qmk/qmk_firmware' | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
with: | ||
token: ${{ secrets.API_TOKEN_GITHUB }} | ||
|
||
- name: Install dependencies | ||
run: | | ||
apt-get update && apt-get install -y dos2unix | ||
- name: Format files | ||
run: | | ||
bin/qmk cformat -a | ||
bin/qmk pyformat | ||
bin/qmk fileformat | ||
- name: Commit files | ||
uses: stefanzweifel/git-auto-commit-action@v4 | ||
with: | ||
commit_message: Format code according to conventions for $GITHUB_SHA | ||
commit_user_name: QMK Bot | ||
commit_user_email: hello@qmk.fm | ||
commit_author: QMK Bot <hello@qmk.fm> |
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,14 @@ | ||
name: "Pull Request Labeler" | ||
|
||
on: | ||
pull_request_target: | ||
types: [opened, synchronize, reopened, ready_for_review, locked] | ||
|
||
jobs: | ||
triage: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/labeler@main | ||
with: | ||
repo-token: "${{ secrets.GITHUB_TOKEN }}" | ||
configuration-path: '.github/labeler.yml' |
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,55 @@ | ||
name: PR Lint keyboards | ||
|
||
on: | ||
pull_request: | ||
paths: | ||
- 'keyboards/**' | ||
|
||
jobs: | ||
lint: | ||
runs-on: ubuntu-latest | ||
|
||
container: qmkfm/base_container | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
with: | ||
fetch-depth: 0 | ||
|
||
- uses: trilom/file-changes-action@v1.2.4 | ||
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 lint | ||
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}" | ||
qmk lint --keyboard ${KB} && qmk info -l --keyboard ${KB} | ||
exit_code=$(($exit_code + $?)) | ||
fi | ||
done | ||
if [[ $exit_code -gt 255 ]]; then | ||
exit 255 | ||
fi | ||
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
Oops, something went wrong.