From b49fe9c17547bee63d160128464d9b380a3d3c3f Mon Sep 17 00:00:00 2001 From: Nikita Bobko Date: Thu, 16 Jan 2025 21:42:26 +0100 Subject: [PATCH] Make ISSUE_TEMPLATE compatible with new GitHub issues preview Unfortunately, ISSUE_TEMPLATE.md is deprecated :( --- .github/ISSUE_TEMPLATE.md | 3 --- .github/ISSUE_TEMPLATE/blank-issue.yml | 8 ++++++++ .github/ISSUE_TEMPLATE/config.yml | 2 +- 3 files changed, 9 insertions(+), 4 deletions(-) delete mode 100644 .github/ISSUE_TEMPLATE.md create mode 100644 .github/ISSUE_TEMPLATE/blank-issue.yml diff --git a/.github/ISSUE_TEMPLATE.md b/.github/ISSUE_TEMPLATE.md deleted file mode 100644 index eeefc0d0..00000000 --- a/.github/ISSUE_TEMPLATE.md +++ /dev/null @@ -1,3 +0,0 @@ -**DO NOT OPEN A NEW ISSUE. PLEASE USE THE DISCUSSIONS SECTION.** - -**I DIDN'T READ THE ABOVE LINE. PLEASE CLOSE THIS ISSUE.** diff --git a/.github/ISSUE_TEMPLATE/blank-issue.yml b/.github/ISSUE_TEMPLATE/blank-issue.yml new file mode 100644 index 00000000..b57951da --- /dev/null +++ b/.github/ISSUE_TEMPLATE/blank-issue.yml @@ -0,0 +1,8 @@ +--- +name: Blank issue. ONLY FOR MAINTAINERS +about: Only maintainers are allowed to create issues, please use GitHub Discussions. +--- + +**DO NOT OPEN A NEW ISSUE. PLEASE USE THE DISCUSSIONS SECTION.** + +**I DIDN'T READ THE ABOVE LINE. PLEASE CLOSE THIS ISSUE.** diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml index 983ea2a3..9bb0c8fa 100644 --- a/.github/ISSUE_TEMPLATE/config.yml +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -1,4 +1,4 @@ -blank_issues_enabled: true +blank_issues_enabled: false contact_links: - name: Bug report url: https://github.com/nikitabobko/AeroSpace/discussions/categories/potential-bugs