From 6203279a685d36cce65ed29ac160ec4c8a438998 Mon Sep 17 00:00:00 2001
From: V7 <maydayv7@gmail.com>
Date: Tue, 1 Feb 2022 09:49:58 +0530
Subject: [PATCH] feat(cosmetic): Add Support for Custom PR Title

---
 action.yml | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/action.yml b/action.yml
index ca11224..ee64607 100644
--- a/action.yml
+++ b/action.yml
@@ -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.