From 9a5b3bdfe601dae5e8b0f333d2f50ced000c0064 Mon Sep 17 00:00:00 2001 From: scarf Date: Thu, 22 Aug 2024 23:43:40 +0900 Subject: [PATCH] chore: use external template chooser see: https://docs.github.com/en/communities/using-templates-to-encourage-useful-issues-and-pull-requests/configuring-issue-templates-for-your-repository#configuring-the-template-chooser --- .github/ISSUE_TEMPLATE/config.yml | 8 ++++++++ .github/ISSUE_TEMPLATE/feature_request.md | 11 ----------- .github/ISSUE_TEMPLATE/question.md | 11 ----------- 3 files changed, 8 insertions(+), 22 deletions(-) create mode 100644 .github/ISSUE_TEMPLATE/config.yml delete mode 100644 .github/ISSUE_TEMPLATE/feature_request.md delete mode 100644 .github/ISSUE_TEMPLATE/question.md diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml new file mode 100644 index 00000000000..f8846db68b2 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -0,0 +1,8 @@ +blank_issues_enabled: true +contact_links: + - name: "🚀 Feature request" + url: https://github.com/scalameta/metals-feature-requests + about: "This issue tracker is not for feature requests. Please suggest your idea on metals-feature-requests" + - name: "❓ Question" + url: https://github.com/scalameta/metals/discussions/new + about: "This issue tracker is not for questions. Please ask a question using GitHub Discussions" diff --git a/.github/ISSUE_TEMPLATE/feature_request.md b/.github/ISSUE_TEMPLATE/feature_request.md deleted file mode 100644 index 5634edf5ed9..00000000000 --- a/.github/ISSUE_TEMPLATE/feature_request.md +++ /dev/null @@ -1,11 +0,0 @@ ---- -name: 🚀 Feature request -about: This issue tracker is not for feature requests. Please suggest your idea here https://github.com/scalameta/metals-feature-requests -title: DO NOT OPEN FEATURE REQUESTS HERE -labels: '' -assignees: '' ---- - -Please open feature requests here https://github.com/scalameta/metals-feature-requests - -The main issue tracker is reserved for bug reports and issues with an assigned milestone. diff --git a/.github/ISSUE_TEMPLATE/question.md b/.github/ISSUE_TEMPLATE/question.md deleted file mode 100644 index d4cc87e2baa..00000000000 --- a/.github/ISSUE_TEMPLATE/question.md +++ /dev/null @@ -1,11 +0,0 @@ ---- -name: ❓ Question -about: This issue tracker is not for questions. Please ask a question using GitHub Discussions https://github.com/scalameta/metals/discussions/new -title: DO NOT ASK QUESTIONS IN ISSUES -labels: '' -assignees: '' ---- - -Please ask a question using [GitHub Discussions](https://github.com/scalameta/metals/discussions/new) - -The main issue tracker is reserved for bug reports and issues with an assigned milestone.