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
parent 026ce45266
commit b92da4f392
No known key found for this signature in database
GPG key ID: CF616EB19C2765E4

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