Skip to content

Commit 4600d9e

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 cee6988 commit 4600d9e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/happy-new-year.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,7 @@ jobs:
7878
base: ${{ steps.branches.outputs.BASE }}
7979
branch: ${{ steps.branches.outputs.PR_BRANCH }}
8080
delete-branch: true
81+
sign-commits: true
8182
commit-message: "Squiz/FileComment: update year in test case fixed file"
8283
title: "Squiz/FileComment: update year in test case fixed file"
8384
# yamllint disable rule:line-length

0 commit comments

Comments
 (0)