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
19,247 changed files
with
506,644 additions
and
264,025 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
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 |
---|---|---|
|
@@ -5,7 +5,6 @@ on: | |
branches: | ||
- master | ||
|
||
|
||
jobs: | ||
develop_update: | ||
runs-on: ubuntu-latest | ||
|
@@ -15,21 +14,15 @@ jobs: | |
steps: | ||
- uses: actions/checkout@v2 | ||
with: | ||
token: ${{ secrets.QMK_BOT_TOKEN }} | ||
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 "[email protected]" | ||
|
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 "[email protected]" | ||
git merge origin/develop | ||
git push origin ${{ matrix.branch }} |
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 |
---|---|---|
|
@@ -16,27 +16,36 @@ jobs: | |
lint: | ||
runs-on: ubuntu-latest | ||
|
||
container: qmkfm/base_container | ||
container: qmkfm/qmk_cli | ||
|
||
steps: | ||
- uses: rlespinasse/[email protected] | ||
|
||
- uses: actions/checkout@v2 | ||
with: | ||
fetch-depth: 0 | ||
|
||
- name: Install dependencies | ||
run: | | ||
pip3 install -r requirements-dev.txt | ||
- uses: trilom/[email protected] | ||
id: file_changes | ||
with: | ||
output: ' ' | ||
fileOutput: ' ' | ||
|
||
- name: Run qmk cformat and qmk pyformat | ||
- name: Run qmk formatters | ||
shell: 'bash {0}' | ||
run: | | ||
qmk cformat --core-only -n $(< ~/files.txt) | ||
cformat_exit=$? | ||
qmk pyformat -n | ||
pyformat_exit=$? | ||
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 | ||
exit $((cformat_exit + pyformat_exit)) | ||
- 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.