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

View file

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