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/develop'
- Loading branch information
Showing
10,902 changed files
with
81,110 additions
and
111,950 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,33 @@ | ||
name: PR Regenerate Files | ||
|
||
permissions: | ||
contents: read | ||
|
||
on: | ||
pull_request: | ||
paths: | ||
- 'data/constants/**' | ||
- 'lib/python/**' | ||
|
||
jobs: | ||
regen: | ||
runs-on: ubuntu-latest | ||
|
||
container: qmkfm/qmk_cli | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- name: Run qmk generators | ||
run: | | ||
util/regen.sh | ||
git diff | ||
- name: Fail when regeneration required | ||
run: | | ||
git diff | ||
for file in $(git diff --name-only); do | ||
echo "File '${file}' Requires Regeneration" | ||
echo "::error file=${file}::Requires Regeneration" | ||
done | ||
test -z "$(git diff --name-only)" |
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: Regenerate Files | ||
|
||
permissions: | ||
contents: write | ||
|
||
on: | ||
push: | ||
branches: | ||
- master | ||
- develop | ||
|
||
jobs: | ||
regen: | ||
runs-on: ubuntu-latest | ||
|
||
container: qmkfm/qmk_cli | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- name: Run qmk generators | ||
run: | | ||
util/regen.sh | ||
git diff | ||
- uses: rlespinasse/github-slug-action@v3.x | ||
|
||
- name: Become QMK Bot | ||
run: | | ||
git config user.name 'QMK Bot' | ||
git config user.email 'hello@qmk.fm' | ||
- name: Create Pull Request | ||
uses: peter-evans/create-pull-request@v4 | ||
if: ${{ github.repository == 'qmk/qmk_firmware'}} | ||
with: | ||
token: ${{ secrets.QMK_BOT_TOKEN }} | ||
delete-branch: true | ||
branch: bugfix/regen_${{ env.GITHUB_REF_SLUG }} | ||
author: QMK Bot <hello@qmk.fm> | ||
committer: QMK Bot <hello@qmk.fm> | ||
commit-message: Regenerate Files | ||
title: '[CI] Regenerate Files' |
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.