|
@@ -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
|