From 5bbf1d196401c105dbfc5d6c1c711d70c47cfe01 Mon Sep 17 00:00:00 2001
From: V7 <maydayv7@gmail.com>
Date: Tue, 1 Feb 2022 09:54:41 +0530
Subject: [PATCH] feat(cosmetic): Add Support for setting PR Labels

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

diff --git a/action.yml b/action.yml
index ee64607..3af84a0 100644
--- a/action.yml
+++ b/action.yml
@@ -13,6 +13,10 @@ inputs:
     description: 'The title of the Pull Request to be created'
     required: false
     default: "flake.lock: Update"
+  pr-labels:
+    description: 'A comma or newline separated list of labels to set on the Pull Request to be created'
+    required: false
+    default: ''
 runs:
   using: "composite"
   steps:
@@ -47,6 +51,7 @@ runs:
         delete-branch: true
         title: ${{ inputs.pr-title }}
         token: ${{ inputs.token }}
+        labels: ${{ inputs.pr-labels }}
         body: |
           Automated changes by the [update-flake-lock](https://github.com/DeterminateSystems/update-flake-lock) GitHub Action.