From 2a20be913d34dbb0d003beea7a71b5ce0f0a74d5 Mon Sep 17 00:00:00 2001 From: Ahmad Ansori Palembani Date: Sat, 6 Jul 2024 13:53:08 +0700 Subject: [PATCH] chore: Remove clown issue closer No body ever read anyway, what's the point, it only cause spam. --- .github/ISSUE_TEMPLATE/feature_request.yml | 1 - .github/ISSUE_TEMPLATE/issue_report.yml | 1 - .github/workflows/issue_closer.yml | 26 ---------------------- 3 files changed, 28 deletions(-) delete mode 100644 .github/workflows/issue_closer.yml diff --git a/.github/ISSUE_TEMPLATE/feature_request.yml b/.github/ISSUE_TEMPLATE/feature_request.yml index b98b0cc5d7..ccd7399665 100644 --- a/.github/ISSUE_TEMPLATE/feature_request.yml +++ b/.github/ISSUE_TEMPLATE/feature_request.yml @@ -39,6 +39,5 @@ body: required: true - label: I have checked through the app settings for my feature. required: true - - label: I have admitted that I am a clown by having checked this box, as I have not read these acknowledgements. - label: I will fill out all of the requested information in this form. required: true diff --git a/.github/ISSUE_TEMPLATE/issue_report.yml b/.github/ISSUE_TEMPLATE/issue_report.yml index fa4fc1099e..ffbad4d745 100644 --- a/.github/ISSUE_TEMPLATE/issue_report.yml +++ b/.github/ISSUE_TEMPLATE/issue_report.yml @@ -104,6 +104,5 @@ body: required: true - label: I have updated all installed extensions. required: true - - label: I have admitted that I am a clown by having checked this box, as I have not read these acknowledgements. - label: I have filled out all of the requested information in this form. required: true diff --git a/.github/workflows/issue_closer.yml b/.github/workflows/issue_closer.yml deleted file mode 100644 index 1b1937e867..0000000000 --- a/.github/workflows/issue_closer.yml +++ /dev/null @@ -1,26 +0,0 @@ -name: Issue moderator - -on: - issues: - types: [ opened, edited, reopened ] - issue_comment: - types: [ created ] - -jobs: - autoclose: - runs-on: ubuntu-latest - steps: - - name: Moderate issues - uses: keiyoushi/issue-moderator-action@a017be83547db6e107431ce7575f53c1dfa3296a # v2 - with: - repo-token: ${{ secrets.ISSUE_MODERATION_PAT }} - auto-close-rules: | - [ - { - "type": "body", - "regex": "- \\[[xX]\\] I have admitted that I am a clown by having checked this box, as I have not read these acknowledgements\\.", - "labels": [":clown_face:"], - "message": "You have not carefully read the acknowledgements." - } - ] - auto-close-ignore-label: do-not-autoclose