2
0
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:
Xianming Zhong
2020-06-18 00:54:09 +08:00
committed by GitHub
parent 36f0ad2f98
commit a9010e4525
7 changed files with 89 additions and 45 deletions
+17
View 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: "Closed by the issue bot. Make sure you have followed the issue template will all required sections/titles. Thanks."