mirror of
https://github.com/DeterminateSystems/update-flake-lock.git
synced 2024-12-23 13:32:07 +01:00
Expose option to configure branch for PR (#36)
This commit is contained in:
parent
80619aa2cd
commit
2026a4bf1a
1 changed files with 5 additions and 1 deletions
|
@ -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 }}
|
||||||
|
|
Loading…
Reference in a new issue