issue_closer.yml 1.2 KB

123456789101112131415161718192021222324252627282930313233343536
  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": "title",
  17. "regex": ".*THIS ISSUE IS IN THE WRONG REPO.*",
  18. "message": "It was not opened in the correct repo, as the template mentioned."
  19. },
  20. {
  21. "type": "title",
  22. "regex": ".*<Write short description here>*",
  23. "message": "The description in the title was not filled out."
  24. },
  25. {
  26. "type": "body",
  27. "regex": ".*DELETE THIS SECTION IF YOU HAVE READ AND ACKNOWLEDGED IT.*",
  28. "message": "The acknowledgment section was not removed."
  29. },
  30. {
  31. "type": "body",
  32. "regex": ".*\\* (Tachiyomi version|Android version|Device): \\?.*",
  33. "message": "Requested information in the template was not filled out."
  34. }
  35. ]