mirror of
https://github.com/DeterminateSystems/update-flake-lock.git
synced 2024-12-23 13:32:07 +01:00
fix: Re-introduce inputs.pr-title
This is to allow users to override the PR title since the commit message as well as title are processed differently which may lead to errors in how they are displayed. For example, the commit message needs quotations to be escaped
This commit is contained in:
parent
aa902c3538
commit
e00d99112b
1 changed files with 6 additions and 2 deletions
|
@ -10,7 +10,11 @@ inputs:
|
|||
required: false
|
||||
default: ${{ github.token }}
|
||||
commit-msg:
|
||||
description: 'The commit message as well as title of the PR to be created'
|
||||
description: 'The message provided with the commit'
|
||||
required: false
|
||||
default: "flake.lock: Update"
|
||||
pr-title:
|
||||
description: 'The title of the PR to be created'
|
||||
required: false
|
||||
default: "flake.lock: Update"
|
||||
pr-labels:
|
||||
|
@ -49,7 +53,7 @@ runs:
|
|||
with:
|
||||
branch: update_flake_lock_action
|
||||
delete-branch: true
|
||||
title: ${{ inputs.commit-msg }}
|
||||
title: ${{ inputs.pr-title }}
|
||||
token: ${{ inputs.token }}
|
||||
labels: ${{ inputs.pr-labels }}
|
||||
body: |
|
||||
|
|
Loading…
Reference in a new issue