mirror of
https://github.com/firewalkwithm3/qmk_firmware.git
synced 2024-11-23 03:50:28 +08:00
[CI] Format develop (#11893)
This commit is contained in:
parent
557cfecc15
commit
4ddb5abea5
4
.github/workflows/format.yaml
vendored
4
.github/workflows/format.yaml
vendored
|
@ -4,6 +4,7 @@ on:
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- master
|
- master
|
||||||
|
- develop
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
format:
|
format:
|
||||||
|
@ -14,6 +15,8 @@ jobs:
|
||||||
if: github.repository == 'qmk/qmk_firmware'
|
if: github.repository == 'qmk/qmk_firmware'
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
- uses: rlespinasse/github-slug-action@v3.x
|
||||||
|
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
with:
|
with:
|
||||||
token: ${{ secrets.API_TOKEN_GITHUB }}
|
token: ${{ secrets.API_TOKEN_GITHUB }}
|
||||||
|
@ -37,6 +40,7 @@ jobs:
|
||||||
uses: peter-evans/create-pull-request@v3
|
uses: peter-evans/create-pull-request@v3
|
||||||
with:
|
with:
|
||||||
delete-branch: true
|
delete-branch: true
|
||||||
|
branch: bugfix/format_${{ env.GITHUB_REF_SLUG }}
|
||||||
author: QMK Bot <hello@qmk.fm>
|
author: QMK Bot <hello@qmk.fm>
|
||||||
committer: QMK Bot <hello@qmk.fm>
|
committer: QMK Bot <hello@qmk.fm>
|
||||||
commit-message: Format code according to conventions
|
commit-message: Format code according to conventions
|
||||||
|
|
Loading…
Reference in a new issue