From 242e4908344a17632fc9774e56e97c49052bc49a Mon Sep 17 00:00:00 2001
From: Rhys Arkins <rhys@arkins.net>
Date: Thu, 27 Apr 2023 08:38:40 +0200
Subject: [PATCH] chore: forbid user bug reports (#21736)

Co-authored-by: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com>
---
 .github/ISSUE_TEMPLATE/bug_report.yml | 11 ++++++-----
 .github/label-actions.yml             |  4 ++--
 2 files changed, 8 insertions(+), 7 deletions(-)

diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml
index 3b1d63988d..e0be4a300e 100644
--- a/.github/ISSUE_TEMPLATE/bug_report.yml
+++ b/.github/ISSUE_TEMPLATE/bug_report.yml
@@ -1,13 +1,14 @@
 name: Bug report
-description: Bug reports require a minimal reproduction and should be preceded by a Discussion first.
-labels: ['type:bug', 'status:requirements', 'priority-5-triage']
+description: Bug reports are only for maintainers. If you are a Renovate user, create a Discussion instead.
+labels:
+  ['type:bug', 'status:requirements', 'priority-5-triage', 'needs-discussion']
 body:
   - type: markdown
     attributes:
       value: |
-        Don't create a Bug Report like this without a GitHub Discussion and [minimal reproduction](https://github.com/renovatebot/renovate/blob/main/docs/development/minimal-reproductions.md) first.
-        Invalid bug reports waste the time of maintainers and can confuse other users so they will closed, locked and deleted.
-        You are always welcome to create Discussions and new users should always do that instead.
+        STOP! Only create a Bug Report if you're a maintainer of Renovate.
+        If you're a user of Renovate, please create a GitHub Discussion.
+        Please go back a step and select Discussion instead of Issue.
 
   - type: dropdown
     id: how-are-you-running-renovate
diff --git a/.github/label-actions.yml b/.github/label-actions.yml
index 016b4113da..e0f3205b11 100644
--- a/.github/label-actions.yml
+++ b/.github/label-actions.yml
@@ -188,10 +188,10 @@
     **Please create a GitHub Discussion instead of this issue.**
 
 
-    As this issue has been labeled as `needs-discussion` by a maintainer it is being automatically closed and locked. It will later be deleted to avoid polluting repository searches with duplicate or incorrect content.
+    We only want Renovate maintainers to create new Issues. If needed, a Renovate maintainer will create an Issue after your Discussion been triaged and confirmed. As a Renovate user, please create a GitHub Discussion in this repo instead.
 
 
-    This doesn't necessarily mean that what you've reported isn't a problem or a reasonable idea, but it does mean that it should be raised as a Discussion first and not an Issue. Please create a Discussion now, assuming you still wish to discuss it.
+    This Issue will now be closed and locked. We may later batch-delete this issue. This way we keep Issues actionable, and free of duplicates or wrong bug reports.
 
 
     Thanks, The Renovate team
-- 
GitLab