diff options
-rw-r--r-- | .github/workflows/format.yaml | 18 |
1 files changed, 12 insertions, 6 deletions
diff --git a/.github/workflows/format.yaml b/.github/workflows/format.yaml index f4acb944a..d7347bea9 100644 --- a/.github/workflows/format.yaml +++ b/.github/workflows/format.yaml | |||
@@ -28,10 +28,16 @@ jobs: | |||
28 | bin/qmk pyformat | 28 | bin/qmk pyformat |
29 | bin/qmk fileformat | 29 | bin/qmk fileformat |
30 | 30 | ||
31 | - name: Commit files | 31 | - name: Become QMK Bot |
32 | uses: stefanzweifel/git-auto-commit-action@v4 | 32 | run: | |
33 | git config user.name 'QMK Bot' | ||
34 | git config user.email 'hello@qmk.fm' | ||
35 | |||
36 | - name: Create Pull Request | ||
37 | uses: peter-evans/create-pull-request@v3 | ||
33 | with: | 38 | with: |
34 | commit_message: Format code according to conventions for $GITHUB_SHA | 39 | delete-branch: true |
35 | commit_user_name: QMK Bot | 40 | author: QMK Bot <hello@qmk.fm> |
36 | commit_user_email: hello@qmk.fm | 41 | committer: QMK Bot <hello@qmk.fm> |
37 | commit_author: QMK Bot <hello@qmk.fm> | 42 | commit-message: Format code according to conventions |
43 | title: '[CI] Format code according to conventions' | ||