diff --git a/upgrade/action.yaml b/upgrade/action.yaml index 76d31413..8719e034 100644 --- a/upgrade/action.yaml +++ b/upgrade/action.yaml @@ -75,6 +75,14 @@ inputs: description: A boolean to add a Signed-off-by line to the commit message required: false default: false + + sign-commits: + description: + A boolean to sign commits. See + https://github.com/peter-evans/create-pull-request/blob/main/docs/concepts-guidelines.md#commit-signature-verification-for-bots + required: false + default: false + outputs: pull-request-number: description: The pull request number @@ -147,7 +155,7 @@ runs: - name: Create Pull Request id: cpr - uses: peter-evans/create-pull-request@v6 + uses: peter-evans/create-pull-request@v7 with: title: ${{ inputs.prefix }}${{ env.PR_TITLE }} body: ${{ env.PR_DESCRIPTION }} @@ -160,4 +168,6 @@ runs: assignees: ${{ inputs.assignees }} reviewers: ${{ inputs.reviewers }} token: ${{ inputs.github-token }} + branch-token: ${{ inputs.github-token }} signoff: ${{ inputs.signoff }} + sign-commits: ${{ inputs.sign-commits }}