From 99cf51c159c167a9dcc5cc58d79204d63221eae0 Mon Sep 17 00:00:00 2001
From: Matiss Janis Aboltins <matiss@mja.lv>
Date: Mon, 1 May 2023 20:26:04 +0100
Subject: [PATCH] :construction_worker:  run feature-request action on labeled
 action (#980)

Run the feature request management action when adding "feature" label.

This will allow us to..
1. remove "feature" label
2. add back "feature" label

Thus execute the workflow on the existing issues.
---
 .github/workflows/issues-close-feature-requests.yml | 2 +-
 upcoming-release-notes/980.md                       | 6 ++++++
 2 files changed, 7 insertions(+), 1 deletion(-)
 create mode 100644 upcoming-release-notes/980.md

diff --git a/.github/workflows/issues-close-feature-requests.yml b/.github/workflows/issues-close-feature-requests.yml
index 87b56ecc0..729b2ed73 100644
--- a/.github/workflows/issues-close-feature-requests.yml
+++ b/.github/workflows/issues-close-feature-requests.yml
@@ -2,7 +2,7 @@ name: Close feature requests with automated message
 
 on:
   issues:
-    types: [opened]
+    types: [labeled]
 
 jobs:
   needs-votes:
diff --git a/upcoming-release-notes/980.md b/upcoming-release-notes/980.md
new file mode 100644
index 000000000..74946fe93
--- /dev/null
+++ b/upcoming-release-notes/980.md
@@ -0,0 +1,6 @@
+---
+category: Maintenance
+authors: [MatissJanis]
+---
+
+Run feature-request management github action when the "feature" label is added
-- 
GitLab