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
1 changed files with 5 additions and 1 deletions

View File

@ -13,6 +13,10 @@ inputs:
description: 'The message provided with the commit' description: 'The message provided with the commit'
required: false required: false
default: "flake.lock: Update" default: "flake.lock: Update"
branch:
description: 'The branch of the PR to be created'
required: false
default: "update_flake_lock_action"
pr-title: pr-title:
description: 'The title of the PR to be created' description: 'The title of the PR to be created'
required: false required: false
@ -49,7 +53,7 @@ runs:
id: create-pr id: create-pr
uses: peter-evans/create-pull-request@v3 uses: peter-evans/create-pull-request@v3
with: with:
branch: update_flake_lock_action branch: ${{ inputs.branch }}
delete-branch: true delete-branch: true
title: ${{ inputs.pr-title }} title: ${{ inputs.pr-title }}
token: ${{ inputs.token }} token: ${{ inputs.token }}