You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
585 B
YAML
17 lines
585 B
YAML
2 years ago
|
on:
|
||
|
issues:
|
||
|
types: [opened, edited]
|
||
|
|
||
|
jobs:
|
||
|
auto_close_issues:
|
||
|
runs-on: ubuntu-latest
|
||
|
steps:
|
||
|
- name: Checkout
|
||
|
uses: actions/checkout@v1
|
||
|
- name: Automatically close issues that don't follow the issue template
|
||
|
uses: lucasbento/auto-close-issues@v1.0.2
|
||
|
with:
|
||
|
github-token: ${{ secrets.GITHUB_TOKEN }}
|
||
|
issue-close-message: "@${issue.user.login}: hello! :wave:\n\nThis issue is being automatically closed because it does not follow the issue template." # optional property
|
||
|
closed-issues-label: "not-template"
|