From 11a19bdec7a9e70e526653f8ece64f9f4e0f9c34 Mon Sep 17 00:00:00 2001
From: yisding <yi.s.ding@gmail.com>
Date: Tue, 21 Nov 2023 21:15:32 -0800
Subject: [PATCH] make sweep optional in issues

---
 .github/ISSUE_TEMPLATE/{sweep-bugfix.yml => bugfix.yml}    | 3 +--
 .github/ISSUE_TEMPLATE/{sweep-feature.yml => feature.yml}  | 7 +++----
 .../ISSUE_TEMPLATE/{sweep-refactor.yml => refactor.yml}    | 7 +++----
 3 files changed, 7 insertions(+), 10 deletions(-)
 rename .github/ISSUE_TEMPLATE/{sweep-bugfix.yml => bugfix.yml} (90%)
 rename .github/ISSUE_TEMPLATE/{sweep-feature.yml => feature.yml} (68%)
 rename .github/ISSUE_TEMPLATE/{sweep-refactor.yml => refactor.yml} (63%)

diff --git a/.github/ISSUE_TEMPLATE/sweep-bugfix.yml b/.github/ISSUE_TEMPLATE/bugfix.yml
similarity index 90%
rename from .github/ISSUE_TEMPLATE/sweep-bugfix.yml
rename to .github/ISSUE_TEMPLATE/bugfix.yml
index 16dae7ec8..bb8c310ba 100644
--- a/.github/ISSUE_TEMPLATE/sweep-bugfix.yml
+++ b/.github/ISSUE_TEMPLATE/bugfix.yml
@@ -1,7 +1,6 @@
 name: Bugfix
-title: "Sweep: "
+title: ""
 description: Write something like "We notice ... behavior when ... happens instead of ...""
-labels: sweep
 body:
   - type: textarea
     id: description
diff --git a/.github/ISSUE_TEMPLATE/sweep-feature.yml b/.github/ISSUE_TEMPLATE/feature.yml
similarity index 68%
rename from .github/ISSUE_TEMPLATE/sweep-feature.yml
rename to .github/ISSUE_TEMPLATE/feature.yml
index 2c041b303..e40729e93 100644
--- a/.github/ISSUE_TEMPLATE/sweep-feature.yml
+++ b/.github/ISSUE_TEMPLATE/feature.yml
@@ -1,11 +1,10 @@
 name: Feature Request
-title: "Sweep: "
-description: Write something like "Write an api endpoint that does "..." in the "..." file"
-labels: sweep
+title: ""
+description: Write something like "Write an api endpoint that does "..." in the "..." file". If you would like to use sweep.dev prefix with "Sweep:"
 body:
   - type: textarea
     id: description
     attributes:
       label: Details
-      description: More details for Sweep
+      description: More details
       placeholder: The new endpoint should use the ... class from ... file because it contains ... logic
diff --git a/.github/ISSUE_TEMPLATE/sweep-refactor.yml b/.github/ISSUE_TEMPLATE/refactor.yml
similarity index 63%
rename from .github/ISSUE_TEMPLATE/sweep-refactor.yml
rename to .github/ISSUE_TEMPLATE/refactor.yml
index 2fac8ffd3..2eeaadaca 100644
--- a/.github/ISSUE_TEMPLATE/sweep-refactor.yml
+++ b/.github/ISSUE_TEMPLATE/refactor.yml
@@ -1,11 +1,10 @@
 name: Refactor
-title: "Sweep: "
-description: Write something like "Modify the ... api endpoint to use ... version and ... framework"
-labels: sweep
+title: ""
+description: Write something like "Modify the ... api endpoint to use ... version and ... framework" If you would like to use sweep.dev prefix with "Sweep:"
 body:
   - type: textarea
     id: description
     attributes:
       label: Details
-      description: More details for Sweep
+      description: More details
       placeholder: We are migrating this function to ... version because ...
-- 
GitLab