Create issue_closer.yml
This commit is contained in:
parent
9f9e0d51f5
commit
ff3c3e8009
1 changed files with 13 additions and 0 deletions
13
.github/workflows/issue_closer.yml
vendored
Normal file
13
.github/workflows/issue_closer.yml
vendored
Normal file
|
@ -0,0 +1,13 @@
|
|||
name: Issue closer
|
||||
on: [issues]
|
||||
jobs:
|
||||
autoclose:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Autoclose issue
|
||||
uses: arkon/issue-closer-action@v1.0
|
||||
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.*"
|
Reference in a new issue