From e4d330afa0a449e4426ce735b0749d73e25063a0 Mon Sep 17 00:00:00 2001 From: Becod <35525491+BecodReyes@users.noreply.github.com> Date: Wed, 6 Jan 2021 09:23:25 +0800 Subject: [PATCH] Add close issue bot --- .github/ISSUE_TEMPLATE/config.yml | 2 +- .github/ISSUE_TEMPLATE/feature_request.md | 4 ++-- .github/issue-close-app.yml | 29 +++++++++++++++++++++++ 3 files changed, 32 insertions(+), 3 deletions(-) create mode 100644 .github/issue-close-app.yml diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml index 5e8d50be..0f185cc1 100644 --- a/.github/ISSUE_TEMPLATE/config.yml +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -1,5 +1,5 @@ blank_issues_enabled: false contact_links: - name: DOCS - url: https://github.com/fatedier/frp + url: https://github.com/fatedier/frp/blob/dev/README.md about: Here you can find out how to configure frp. diff --git a/.github/ISSUE_TEMPLATE/feature_request.md b/.github/ISSUE_TEMPLATE/feature_request.md index ba717a86..57a1343f 100644 --- a/.github/ISSUE_TEMPLATE/feature_request.md +++ b/.github/ISSUE_TEMPLATE/feature_request.md @@ -9,7 +9,7 @@ assignees: '' -**The solution you want** +**[REQUIRED] The solution you want** **Alternatives considered** @@ -18,5 +18,5 @@ assignees: '' **How to implement this function** -**Application scenarios of this function** +**[REQUIRED] Application scenarios of this function** \ No newline at end of file diff --git a/.github/issue-close-app.yml b/.github/issue-close-app.yml new file mode 100644 index 00000000..1b20525a --- /dev/null +++ b/.github/issue-close-app.yml @@ -0,0 +1,29 @@ +comment: >- + This issue has been automatically closed because it doesn't follow the issue template. + + + Please open a new issue and make sure to **follow the provided template**, + fill out the sections **without modifying** or **deleting** the existing text. + + + Templates are necessary to manage the project efficiently, + as basic questions don't need to be asked again each time. + +issueConfigs: + +# Bug +- content: + - "hat version of frp are you using" + - "What operating system and processor architecture are you using" + - "description of errors" + - "Detailed Description" + +# Feature / Documentation +- content: + - "The solution you want" + - "Application scenarios of this function" + +caseInsensitive: true +label: "Closed by bot" +exception: + - "fatedier" \ No newline at end of file