forked from qmk/qmk_firmware
-
Notifications
You must be signed in to change notification settings - Fork 88
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 'qmk/master' into HEAD
- Loading branch information
Showing
776 changed files
with
17,571 additions
and
78,569 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
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 |
---|---|---|
@@ -1,46 +1,56 @@ | ||
core: | ||
- quantum/**/* | ||
- tmk_core/**/* | ||
- drivers/**/* | ||
- tests/**/* | ||
- util/**/* | ||
- platforms/**/* | ||
- builddefs/**/* | ||
- Makefile | ||
- '*.mk' | ||
- changed-files: | ||
- any-glob-to-any-file: | ||
- quantum/** | ||
- tmk_core/** | ||
- drivers/** | ||
- tests/** | ||
- util/** | ||
- platforms/** | ||
- builddefs/*.mk | ||
- Makefile | ||
- '*.mk' | ||
dependencies: | ||
- any: | ||
- 'lib/**/*' | ||
- '!lib/python/**/*' | ||
- changed-files: | ||
- all-globs-to-any-file: | ||
- lib/** | ||
- '!lib/python/**' | ||
keyboard: | ||
- any: | ||
- 'keyboards/**/*' | ||
- '!keyboards/**/keymaps/**/*' | ||
- changed-files: | ||
- all-globs-to-any-file: | ||
- keyboards/** | ||
- '!keyboards/**/keymaps/**' | ||
keymap: | ||
- users/**/* | ||
- layouts/**/* | ||
- keyboards/**/keymaps/**/* | ||
- changed-files: | ||
- any-glob-to-any-file: | ||
- users/** | ||
- layouts/** | ||
- keyboards/**/keymaps/** | ||
via: | ||
- keyboards/**/keymaps/via/* | ||
- changed-files: | ||
- any-glob-to-any-file: | ||
- keyboards/**/keymaps/via/* | ||
cli: | ||
- requirements.txt | ||
- lib/python/**/* | ||
- changed-files: | ||
- any-glob-to-any-file: | ||
- requirements.txt | ||
- lib/python/** | ||
python: | ||
- '**/*.py' | ||
- changed-files: | ||
- any-glob-to-any-file: | ||
- '**/*.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/**/* | ||
- changed-files: | ||
- any-glob-to-any-file: | ||
- docs/** | ||
- builddefs/docsgen/** | ||
CI: | ||
- .github/**/* | ||
- changed-files: | ||
- any-glob-to-any-file: | ||
- .github/** | ||
dd: | ||
- data/constants/**/* | ||
- data/mappings/**/* | ||
- data/schemas/**/* | ||
- changed-files: | ||
- any-glob-to-any-file: | ||
- data/constants/** | ||
- data/mappings/** | ||
- data/schemas/** |
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 |
---|---|---|
|
@@ -7,14 +7,18 @@ on: | |
push: | ||
branches: | ||
- master | ||
- vitepress | ||
paths: | ||
- 'builddefs/docsgen/**' | ||
- 'tmk_core/**' | ||
- 'quantum/**' | ||
- 'platforms/**' | ||
- 'docs/**' | ||
- '.github/workflows/docs.yml' | ||
pull_request: | ||
paths: | ||
- 'builddefs/docsgen/**' | ||
- 'docs/**' | ||
- '.github/workflows/docs.yml' | ||
|
||
defaults: | ||
run: | ||
|
@@ -25,61 +29,37 @@ jobs: | |
runs-on: ubuntu-latest | ||
container: ghcr.io/qmk/qmk_cli | ||
|
||
# protect against those who develop with their fork on master | ||
if: github.repository == 'qmk/qmk_firmware' || (github.repository == 'tzarc/qmk_firmware' && github.ref == 'refs/heads/vitepress') | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 1 | ||
|
||
- name: Install dependencies | ||
run: | | ||
apt-get update && apt-get install -y rsync doxygen curl | ||
apt-get update && apt-get install -y rsync doxygen | ||
# install nvm | ||
touch $HOME/.bashrc | ||
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh | bash | ||
wget -qO- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh | bash | ||
- name: Install node | ||
run: | | ||
source $HOME/.bashrc | ||
nvm install 20 | ||
nvm use 20 | ||
corepack enable | ||
npm install -g moxygen | ||
- name: Build docs | ||
run: | | ||
source $HOME/.bashrc | ||
nvm use 20 | ||
qmk --verbose generate-docs | ||
touch '.build/docs/.nojekyll' | ||
- name: Set CNAME | ||
if: github.repository == 'qmk/qmk_firmware' | ||
run: | | ||
# Override target CNAME | ||
echo 'docs.qmk.fm' > .build/docs/CNAME | ||
- name: Override CNAME | ||
if: github.repository == 'tzarc/qmk_firmware' | ||
run: | | ||
# Temporarily override target CNAME during development | ||
echo 'vitepress.qmk.fm' > .build/docs/CNAME | ||
- name: Deploy | ||
if: github.repository == 'qmk/qmk_firmware' | ||
uses: JamesIves/github-pages-deploy-action@v4.6.1 | ||
if: ${{ github.event_name == 'push' && github.repository == 'qmk/qmk_firmware' }} | ||
uses: JamesIves/github-pages-deploy-action@v4.7.2 | ||
with: | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
branch: gh-pages | ||
folder: .build/docs | ||
git-config-name: QMK Bot | ||
git-config-email: [email protected] | ||
|
||
- name: Deploy | ||
if: github.repository == 'tzarc/qmk_firmware' | ||
uses: JamesIves/[email protected] | ||
with: | ||
branch: gh-pages | ||
folder: .build/docs |
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 |
---|---|---|
|
@@ -47,7 +47,7 @@ jobs: | |
git config user.email '[email protected]' | ||
- name: Create Pull Request | ||
uses: peter-evans/create-pull-request@v6 | ||
uses: peter-evans/create-pull-request@v7 | ||
if: ${{ github.repository == 'qmk/qmk_firmware'}} | ||
with: | ||
token: ${{ secrets.QMK_BOT_TOKEN }} | ||
|
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 |
---|---|---|
@@ -1,18 +1,13 @@ | ||
name: "Pull Request Labeler" | ||
|
||
permissions: | ||
contents: read | ||
pull-requests: write | ||
|
||
on: | ||
pull_request_target: | ||
types: [opened, synchronize, reopened, ready_for_review, locked] | ||
- pull_request_target | ||
|
||
jobs: | ||
triage: | ||
permissions: | ||
contents: read | ||
pull-requests: write | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/labeler@v4 | ||
with: | ||
repo-token: "${{ secrets.GITHUB_TOKEN }}" | ||
configuration-path: '.github/labeler.yml' | ||
- uses: actions/labeler@v5 |
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 |
---|---|---|
|
@@ -34,7 +34,7 @@ jobs: | |
git config user.email '[email protected]' | ||
- name: Create Pull Request | ||
uses: peter-evans/create-pull-request@v6 | ||
uses: peter-evans/create-pull-request@v7 | ||
if: ${{ github.repository == 'qmk/qmk_firmware'}} | ||
with: | ||
token: ${{ secrets.QMK_BOT_TOKEN }} | ||
|
Oops, something went wrong.