mihon/.github/workflows/issue_closer.yml

14 lines
552 B
YAML
Raw Normal View History

2020-04-08 19:36:36 -04:00
name: Issue closer
on: [issues]
jobs:
autoclose:
runs-on: ubuntu-latest
steps:
- name: Autoclose issue
2020-04-08 19:39:41 -04:00
uses: arkon/issue-closer-action@v1.0
2020-04-08 19:36:36 -04:00
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
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."
issue-title-pattern: ".*THIS ISSUE IS IN THE WRONG REPO.*"
issue-body-pattern: ".*DELETE THIS SECTION IF YOU HAVE READ AND ACKNOWLEDGED IT.*"