feat(cosmetic): Add Support for Custom PR Title

This commit is contained in:
V7 2022-02-01 09:49:58 +05:30 committed by Cole Helbling
parent d65c4f4a49
commit 073d38a53e
1 changed files with 5 additions and 1 deletions

View File

@ -9,6 +9,10 @@ inputs:
description: 'GITHUB_TOKEN or a `repo` scoped Personal Access Token (PAT)'
required: false
default: ${{ github.token }}
pr-title:
description: 'The title of the Pull Request to be created'
required: false
default: "flake.lock: Update"
runs:
using: "composite"
steps:
@ -41,7 +45,7 @@ runs:
with:
branch: update_flake_lock_action
delete-branch: true
title: "flake.lock: Update"
title: ${{ inputs.pr-title }}
token: ${{ inputs.token }}
body: |
Automated changes by the [update-flake-lock](https://github.com/DeterminateSystems/update-flake-lock) GitHub Action.