Skip to content

Commit 50d0563

Browse files
committed
GH Actions: update for new version of "Create Pull Request"
The "Create Pull Request" action has released a new major version. I have verified that the workflow as-is would still work. However, this new version also offers one relevant new feature: * Signing commits. The PRs created by this actions are created by the `github-actions[bot]` user. Adding the `sign-commits: true` option will allow the bot to sign the commits based on the repo default `GITHUB_TOKEN`. Refs: * https://github.com/peter-evans/create-pull-request/releases/tag/v7.0.0 * https://github.com/peter-evans/create-pull-request/blob/v7.0.0/docs/concepts-guidelines.md#commit-signature-verification-for-bots
1 parent 1dd8d33 commit 50d0563

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/update-phpcs-versionnr.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@ jobs:
7373
base: ${{ steps.branches.outputs.BASE }}
7474
branch: ${{ steps.branches.outputs.PR_BRANCH }}
7575
delete-branch: true
76+
sign-commits: true
7677
commit-message: "GetVersionTest: update for release of PHPCS ${{ steps.version.outputs.TAG }}"
7778
title: "GetVersionTest: update for release of PHPCS ${{ steps.version.outputs.TAG }}"
7879
# yamllint disable rule:line-length

0 commit comments

Comments
 (0)