Compare commits
2 Commits
Author | SHA1 | Date | |
---|---|---|---|
bc75a5b55e | |||
786e5cf5a2 |
@ -13,6 +13,9 @@ inputs:
|
|||||||
description: 'The message provided with the commit'
|
description: 'The message provided with the commit'
|
||||||
required: false
|
required: false
|
||||||
default: "flake.lock: Update"
|
default: "flake.lock: Update"
|
||||||
|
base:
|
||||||
|
description: "Sets the pull request base branch. Defaults to the branch checked out in the workflow."
|
||||||
|
required: false
|
||||||
branch:
|
branch:
|
||||||
description: 'The branch of the PR to be created'
|
description: 'The branch of the PR to be created'
|
||||||
required: false
|
required: false
|
||||||
@ -96,6 +99,9 @@ outputs:
|
|||||||
pull-request-number:
|
pull-request-number:
|
||||||
description: 'The number of the opened pull request'
|
description: 'The number of the opened pull request'
|
||||||
value: ${{ steps.create-pr.outputs.pull-request-number }}
|
value: ${{ steps.create-pr.outputs.pull-request-number }}
|
||||||
|
pull-request-operation:
|
||||||
|
description: 'The pull request operation performed by the action, `created`, `updated` or `closed`.'
|
||||||
|
value: ${{ steps.create-pr.outputs.pull-request-operation }}
|
||||||
runs:
|
runs:
|
||||||
using: "composite"
|
using: "composite"
|
||||||
steps:
|
steps:
|
||||||
@ -178,6 +184,7 @@ runs:
|
|||||||
id: create-pr
|
id: create-pr
|
||||||
uses: peter-evans/create-pull-request@v4
|
uses: peter-evans/create-pull-request@v4
|
||||||
with:
|
with:
|
||||||
|
base: ${{ inputs.base }}
|
||||||
branch: ${{ inputs.branch }}
|
branch: ${{ inputs.branch }}
|
||||||
delete-branch: true
|
delete-branch: true
|
||||||
committer: ${{ env.GIT_COMMITTER_NAME }} ${{ env.GIT_COMMITTER_EMAIL }}
|
committer: ${{ env.GIT_COMMITTER_NAME }} ${{ env.GIT_COMMITTER_EMAIL }}
|
||||||
|
Reference in New Issue
Block a user