From 2026a4bf1a16208cd40c3e2fa414d2c25befc6d6 Mon Sep 17 00:00:00 2001 From: Arman Bilge Date: Wed, 22 Jun 2022 12:44:48 -0700 Subject: [PATCH] Expose option to configure branch for PR (#36) --- action.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/action.yml b/action.yml index 4daf0db..0a60068 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 + default: "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 }}