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 'qmk:master' into master
- Loading branch information
Showing
9,043 changed files
with
219,482 additions
and
69,791 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
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,18 @@ | ||
name: Automatic Approve | ||
|
||
on: | ||
schedule: | ||
- cron: "*/5 * * * *" | ||
|
||
jobs: | ||
automatic_approve: | ||
runs-on: ubuntu-latest | ||
|
||
if: github.repository == 'qmk/qmk_firmware' | ||
|
||
steps: | ||
- uses: mheap/automatic-approve-action@v1 | ||
with: | ||
token: ${{ secrets.QMK_BOT_TOKEN }} | ||
workflows: "format.yml,lint.yml,unit_test.yml" | ||
dangerous_files: "lib/python/,Makefile,paths.mk,builddefs/" |
File renamed without changes.
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,35 @@ | ||
name: Update feature branches after develop merge | ||
|
||
on: | ||
push: | ||
branches: | ||
- develop | ||
|
||
jobs: | ||
feature_branch_update: | ||
runs-on: ubuntu-latest | ||
|
||
if: github.repository == 'qmk/qmk_firmware' | ||
|
||
strategy: | ||
matrix: | ||
branch: | ||
- xap | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
with: | ||
token: ${{ secrets.QMK_BOT_TOKEN }} | ||
fetch-depth: 0 | ||
|
||
- name: Checkout branch | ||
run: | | ||
git fetch origin develop ${{ matrix.branch }} | ||
git checkout ${{ matrix.branch }} | ||
- name: Update branch from develop | ||
run: | | ||
git config --global user.name "QMK Bot" | ||
git config --global user.email "hello@qmk.fm" | ||
git merge origin/develop | ||
git push origin ${{ matrix.branch }} |
This file was deleted.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
name: PR Lint Format | ||
|
||
on: | ||
pull_request: | ||
paths: | ||
- 'drivers/**' | ||
- 'lib/arm_atsam/**' | ||
- 'lib/lib8tion/**' | ||
- 'lib/python/**' | ||
- 'platforms/**' | ||
- 'quantum/**' | ||
- 'tests/**' | ||
- 'tmk_core/**' | ||
|
||
jobs: | ||
lint: | ||
runs-on: ubuntu-latest | ||
|
||
container: qmkfm/qmk_cli | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
with: | ||
fetch-depth: 0 | ||
|
||
- name: Install dependencies | ||
run: | | ||
pip3 install -r requirements-dev.txt | ||
- uses: trilom/file-changes-action@v1.2.4 | ||
id: file_changes | ||
with: | ||
output: ' ' | ||
fileOutput: ' ' | ||
|
||
- name: Run qmk formatters | ||
shell: 'bash {0}' | ||
run: | | ||
cat ~/files_added.txt ~/files_modified.txt > ~/files_changed.txt | ||
qmk format-c --core-only $(< ~/files_changed.txt) || true | ||
qmk format-python $(< ~/files_changed.txt) || true | ||
qmk format-text $(< ~/files_changed.txt) || true | ||
- name: Fail when formatting required | ||
run: | | ||
git diff | ||
for file in $(git diff --name-only); do | ||
echo "File '${file}' Requires Formatting" | ||
echo "::error file=${file}::Requires Formatting" | ||
done | ||
test -z "$(git diff --name-only)" |
Oops, something went wrong.