issue_closer.yml 552 B

12345678910111213
  1. name: Issue closer
  2. on: [issues]
  3. jobs:
  4. autoclose:
  5. runs-on: ubuntu-latest
  6. steps:
  7. - name: Autoclose issue
  8. uses: arkon/[email protected]
  9. with:
  10. repo-token: ${{ secrets.GITHUB_TOKEN }}
  11. issue-close-message: "@${issue.user.login} this issue was automatically closed because it was not filled in correctly or the acknowledgment section was not removed."
  12. issue-title-pattern: ".*THIS ISSUE IS IN THE WRONG REPO.*"
  13. issue-body-pattern: ".*DELETE THIS SECTION IF YOU HAVE READ AND ACKNOWLEDGED IT.*"