Skip to content

Commit

Permalink
allow to set base branch of pull request
Browse files Browse the repository at this point in the history
  • Loading branch information
Mic92 authored and cole-h committed Mar 27, 2023
1 parent 085c3a0 commit 786e5cf
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ inputs:
description: 'The message provided with the commit'
required: false
default: "flake.lock: Update"
base:
description: "Sets the pull request base branch. Defaults to the branch checked out in the workflow."
required: false
branch:
description: 'The branch of the PR to be created'
required: false
Expand Down Expand Up @@ -178,6 +181,7 @@ runs:
id: create-pr
uses: peter-evans/create-pull-request@v4
with:
base: ${{ inputs.base }}
branch: ${{ inputs.branch }}
delete-branch: true
committer: ${{ env.GIT_COMMITTER_NAME }} ${{ env.GIT_COMMITTER_EMAIL }}
Expand Down

0 comments on commit 786e5cf

Please sign in to comment.