mirror of
https://github.com/louislam/uptime-kuma.git
synced 2024-12-17 11:44:38 -05:00
close issues that don't follow the issue template
Copy from axios
This commit is contained in:
parent
f331f1a63e
commit
03aeab0421
17
.github/workflows/close-issue.yml
vendored
Normal file
17
.github/workflows/close-issue.yml
vendored
Normal file
@ -0,0 +1,17 @@
|
||||
name: 'Close Invalid Issues'
|
||||
|
||||
on:
|
||||
issues:
|
||||
types: [opened]
|
||||
|
||||
jobs:
|
||||
auto_close_issues:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
- 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: 'Hello! :wave: \n\nThis issue is being automatically closed because it does not follow the issue template. Please read the issue template carefully and follow all of the instructions when opening a new issue. \n\nThanks'
|
Loading…
Reference in New Issue
Block a user