From 54bb98a5c55c5c4b5a376b00a103615af59cb8c9 Mon Sep 17 00:00:00 2001 From: Syer10 Date: Sun, 20 Jun 2021 21:34:02 -0400 Subject: [PATCH] Add issue management --- .github/ISSUE_TEMPLATE/bug_report.md | 44 +++++++++++++++++++++++ .github/ISSUE_TEMPLATE/config.yml | 1 + .github/ISSUE_TEMPLATE/feature_request.md | 29 +++++++++++++++ .github/workflows/issue_closer.yml | 37 +++++++++++++++++++ 4 files changed, 111 insertions(+) create mode 100644 .github/ISSUE_TEMPLATE/bug_report.md create mode 100644 .github/ISSUE_TEMPLATE/config.yml create mode 100644 .github/ISSUE_TEMPLATE/feature_request.md create mode 100644 .github/workflows/issue_closer.yml diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md new file mode 100644 index 00000000..084971e7 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -0,0 +1,44 @@ +--- +name: "🐞 Bug report" +title: "[Bug] " +about: "Report a bug" +labels: "bug" +--- + +**PLEASE READ THIS** + +I acknowledge that: + +- I have updated to the latest version of the app. +- I have tried the troubleshooting guide described in `README.md` +- If this is a request for adding/changing an extension it should be brought up to Tachiyomi: https://github.com/tachiyomiorg/tachiyomi-extensions/issues/new/choose +- If this is an issue with some extension not working properly, It does work inside Tachiyomi as intended. +- I have searched the existing issues and this is a new ticket **NOT** a duplicate or related to another open issue +- I will fill out the title and the information in this template + +Note that the issue will be automatically closed if you do not fill out the title or requested information. + +**DELETE THIS SECTION IF YOU HAVE READ AND ACKNOWLEDGED IT** + +--- + +## Device information +- TachideskJUI version: (Example: v1.1.0) +- Operating System: (Example: Ubuntu 20.04) +- Desktop Environment: (Example: Gnome 40) +- Server Type: (Example: Internal) +- Client JVM version: (Example: Java 15.0.3 or JUI Installer) +- Server JVM version: (Example: Same as Client or OpenJDK 8u281) + +## Steps to reproduce +1. First Step +2. Second Step + +### Expected behavior +Describe what should have happened. Remove this line after you are done. + +### Actual behavior +Describe what happens instead. Remove this line after you are done. + +## Other details +Describe additional details If necessary. Remove this line after you are done. \ No newline at end of file diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml new file mode 100644 index 00000000..3ba13e0c --- /dev/null +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -0,0 +1 @@ +blank_issues_enabled: false diff --git a/.github/ISSUE_TEMPLATE/feature_request.md b/.github/ISSUE_TEMPLATE/feature_request.md new file mode 100644 index 00000000..a59f2812 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/feature_request.md @@ -0,0 +1,29 @@ +--- +name: "🌟 Feature request" +title: "[Feature Request] " +about: "Suggest a feature to improve the project" +labels: "enhancement" +--- + +**PLEASE READ THIS** + +I acknowledge that: + +- I have updated to the latest version of the app. +- I have tried the troubleshooting guide described in `README.md` +- If this is a request for adding/changing an extension it should be brought up to Tachiyomi: https://github.com/tachiyomiorg/tachiyomi-extensions/issues/new/choose +- If this is an issue with some extension not working properly, It does work in Tachiyomi application as intended. +- I have searched the existing issues and this is a new ticket **NOT** a duplicate or related to another open issue +- I will fill out the title and the information in this template + +Note that the issue will be automatically closed if you do not fill out the title or requested information. + +**DELETE THIS SECTION IF YOU HAVE READ AND ACKNOWLEDGED IT** + +--- + +## What feature should be added to Tachidesk? +Explain What the feature is and how it should work in detail. Remove this line after you are done. + +## Why/Project's Benefit/Existing Problem +Explain why this should be added. Remove this line after you are done. \ No newline at end of file diff --git a/.github/workflows/issue_closer.yml b/.github/workflows/issue_closer.yml new file mode 100644 index 00000000..c15a9d12 --- /dev/null +++ b/.github/workflows/issue_closer.yml @@ -0,0 +1,37 @@ +name: Issue closer + +on: + issues: + types: [opened, edited, reopened] + +jobs: + autoclose: + runs-on: ubuntu-latest + steps: + - name: Autoclose issues + uses: arkon/issue-closer-action@v3.0 + with: + repo-token: ${{ github.token }} + rules: | + [ + { + "type": "title", + "regex": ".**", + "message": "You did not fill out the description in the title" + }, + { + "type": "body", + "regex": ".*DELETE THIS SECTION IF YOU HAVE READ AND ACKNOWLEDGED IT.*", + "message": "The acknowledgment section was not removed" + }, + { + "type": "body", + "regex": "(TachideskJUI version|Operating System|Desktop Environment|Server Type|Client JVM version|Server JVM version):.*(\\(Example:|