issue_closer.yml 1.1 KB

1234567891011121314151617181920212223242526272829303132
  1. name: Issue closer
  2. on:
  3. issues:
  4. types: [opened, edited, reopened]
  5. jobs:
  6. autoclose:
  7. runs-on: ubuntu-latest
  8. steps:
  9. - name: Autoclose issues
  10. uses: arkon/[email protected]
  11. with:
  12. repo-token: ${{ secrets.GITHUB_TOKEN }}
  13. rules: |
  14. [
  15. {
  16. "type": "body",
  17. "regex": ".*DELETE THIS SECTION IF YOU HAVE READ AND ACKNOWLEDGED IT.*",
  18. "message": "The acknowledgment section was not removed."
  19. },
  20. {
  21. "type": "body",
  22. "regex": ".*\\* (Tachiyomi version|Android version|Device): \\?.*",
  23. "message": "Requested information in the template was not filled out."
  24. },
  25. {
  26. "type": "both",
  27. "regex": "^(?!.*myanimelist.*).*(aniyomi|anime).*$",
  28. "ignoreCase": true,
  29. "message": "Tachiyomi does not support anime, and has no plans to support anime. In addition Tachiyomi is not affiliated with Aniyomi https://github.com/jmir1/aniyomi"
  30. }
  31. ]