Expose option to configure branch for PR (#36)

This commit is contained in:
Arman Bilge 2022-06-22 12:44:48 -07:00 committed by GitHub
parent 80619aa2cd
commit 2026a4bf1a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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 }}