Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(upgrade): update create-pull-request to v7 and add sign-commits input parameter #263

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 11 additions & 1 deletion upgrade/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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 }}
Expand All @@ -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 }}
Loading