diff options
author | Joel Challis <git@zvecr.com> | 2021-02-06 12:55:50 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-06 12:55:50 +0000 |
commit | 0e8cef28d29d984095d7c6d1ac2d0cf032bdc323 (patch) | |
tree | 3af0698f3f5d36d742d67882e9edb1ddc8ba585a | |
parent | 31675c614e940e08fa8b400912a011dbb8622150 (diff) | |
download | qmk_firmware-0e8cef28d29d984095d7c6d1ac2d0cf032bdc323.tar.gz qmk_firmware-0e8cef28d29d984095d7c6d1ac2d0cf032bdc323.zip |
[CI] Auto Formatting - Swap from direct commit to PR (#11229)
* Swap from direct commit to PR
* Fix up
-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' | ||