Skip to content

Commit

Permalink
Expose option to configure branch for PR (#36)
Browse files Browse the repository at this point in the history
  • Loading branch information
armanbilge committed Jun 22, 2022
1 parent 80619aa commit 2026a4b
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@ inputs:
description: 'The message provided with the commit'
required: false
default: "flake.lock: Update"
branch:
description: 'The branch of the PR to be created'
required: false
default: "update_flake_lock_action"
pr-title:
description: 'The title of the PR to be created'
required: false
Expand Down Expand Up @@ -49,7 +53,7 @@ runs:
id: create-pr
uses: peter-evans/create-pull-request@v3
with:
branch: update_flake_lock_action
branch: ${{ inputs.branch }}
delete-branch: true
title: ${{ inputs.pr-title }}
token: ${{ inputs.token }}
Expand Down

0 comments on commit 2026a4b

Please sign in to comment.