2024-06-30 08:35:16 +00:00
|
|
|
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 }}
|
|
|
|
closed-issues-label: "bad-issue-template"
|
2024-06-30 08:47:19 +00:00
|
|
|
issue-close-message: |-
|
|
|
|
@${issue.user.login}: hello! :wave:
|
|
|
|
|
|
|
|
This issue is being automatically closed because it does not follow the issue template.
|
|
|
|
|