diff --git a/.github/workflows/issue_moderator.yml b/.github/workflows/issue_moderator.yml deleted file mode 100644 index d06d214c..00000000 --- a/.github/workflows/issue_moderator.yml +++ /dev/null @@ -1,51 +0,0 @@ -name: Issue moderator - -on: - issues: - types: [opened, edited, reopened] - issue_comment: - types: [created] - -jobs: - autoclose: - runs-on: docker - steps: - - name: Moderate issues - uses: aniyomiorg/issue-moderator-action@v2 - with: - repo-token: ${{ secrets.GITHUB_TOKEN }} - duplicate-label: Duplicate - - duplicate-check-enabled: true - duplicate-check-labels: | - ["Source request", "Domain changed"] - - existing-check-enabled: true - existing-check-labels: | - ["Source request", "Domain changed"] - - auto-close-rules: | - [ - { - "type": "body", - "regex": ".*DELETE THIS SECTION IF YOU HAVE READ AND ACKNOWLEDGED IT.*", - "message": "The acknowledgment section was not removed." - }, - { - "type": "body", - "regex": ".*\\* (Aniyomi version|Android version|Device): \\?.*", - "message": "Requested information in the template was not filled out." - }, - { - "type": "title", - "regex": ".*(Source name|Short description).*", - "message": "You did not fill out the description in the title." - }, - { - "type": "both", - "regex": ".*(?:fail(?:ed|ure|s)?|can\\s*(?:no|')?t|(?:not|un).*able|(?