mirror of
https://github.com/tenrok/axios.git
synced 2026-06-02 16:04:10 +03:00
Add GitHub actions to close invalid issues (#3022)
* add close actions * fix with checkout * update issue templates * add reminder * update close message
This commit is contained in:
@@ -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: "Closed by the issue bot. Make sure you have followed the issue template will all required sections/titles. Thanks."
|
||||
Reference in New Issue
Block a user