From 44a178d29ed3c4ee7a9f0510820b2e91592e7a99 Mon Sep 17 00:00:00 2001 From: Arman Bilge Date: Tue, 21 Jun 2022 01:56:35 -0700 Subject: [PATCH] Expose option to configure branch for PR --- action.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/action.yml b/action.yml index 4daf0db..39d3758 100644 --- a/action.yml +++ b/action.yml @@ -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 + defualt: "update_flake_lock_action" pr-title: description: 'The title of the PR to be created' required: false @@ -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 }}