Switch to another issue bot
This commit is contained in:
parent
f56852a700
commit
899609a291
1 changed files with 11 additions and 9 deletions
14
.github/workflows/issue-interceptor.yml
vendored
14
.github/workflows/issue-interceptor.yml
vendored
|
@ -1,16 +1,18 @@
|
||||||
name: "Intercept bad issues"
|
name: Intercept bad issues
|
||||||
|
|
||||||
on:
|
on:
|
||||||
issues:
|
issues:
|
||||||
types: [opened]
|
types: [opened, edited]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
autoclose:
|
auto_close_issues:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
|
- name: Checkout
|
||||||
|
uses: actions/checkout@v1
|
||||||
- name: Auto close issues that did not follow template
|
- name: Auto close issues that did not follow template
|
||||||
uses: roots/issue-closer@v1.1
|
uses: lucasbento/auto-close-issues@v1.0.2
|
||||||
with:
|
with:
|
||||||
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
github-token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
issue-pattern: "(\\[x\\]|\\[X\\]) I have read"
|
|
||||||
issue-close-message: ":wave: Hi @${issue.user.login},\n\nThis issue is being automatically closed because it does not follow the issue template."
|
issue-close-message: ":wave: Hi @${issue.user.login},\n\nThis issue is being automatically closed because it does not follow the issue template."
|
||||||
|
closed-issues-label: "🙁 Not following issue template"
|
||||||
|
|
Loading…
Reference in a new issue