diff options
-rw-r--r-- | .github/workflows/format.yaml | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/.github/workflows/format.yaml b/.github/workflows/format.yaml index d7347bea9..201f3c230 100644 --- a/.github/workflows/format.yaml +++ b/.github/workflows/format.yaml | |||
@@ -4,6 +4,7 @@ on: | |||
4 | push: | 4 | push: |
5 | branches: | 5 | branches: |
6 | - master | 6 | - master |
7 | - develop | ||
7 | 8 | ||
8 | jobs: | 9 | jobs: |
9 | format: | 10 | format: |
@@ -14,6 +15,8 @@ jobs: | |||
14 | if: github.repository == 'qmk/qmk_firmware' | 15 | if: github.repository == 'qmk/qmk_firmware' |
15 | 16 | ||
16 | steps: | 17 | steps: |
18 | - uses: rlespinasse/github-slug-action@v3.x | ||
19 | |||
17 | - uses: actions/checkout@v2 | 20 | - uses: actions/checkout@v2 |
18 | with: | 21 | with: |
19 | token: ${{ secrets.API_TOKEN_GITHUB }} | 22 | token: ${{ secrets.API_TOKEN_GITHUB }} |
@@ -37,6 +40,7 @@ jobs: | |||
37 | uses: peter-evans/create-pull-request@v3 | 40 | uses: peter-evans/create-pull-request@v3 |
38 | with: | 41 | with: |
39 | delete-branch: true | 42 | delete-branch: true |
43 | branch: bugfix/format_${{ env.GITHUB_REF_SLUG }} | ||
40 | author: QMK Bot <hello@qmk.fm> | 44 | author: QMK Bot <hello@qmk.fm> |
41 | committer: QMK Bot <hello@qmk.fm> | 45 | committer: QMK Bot <hello@qmk.fm> |
42 | commit-message: Format code according to conventions | 46 | commit-message: Format code according to conventions |