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:
maydayv7 2022-02-01 10:48:39 +05:30 committed by Cole Helbling
parent aa902c3538
commit e00d99112b
1 changed files with 6 additions and 2 deletions

View File

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