Create autocloser.yml
This commit is contained in:
parent
78b8bb7bc6
commit
a5d03dae2f
2
.github/ISSUE_TEMPLATE/config.yml
vendored
2
.github/ISSUE_TEMPLATE/config.yml
vendored
@ -1,5 +1,5 @@
|
|||||||
blank_issues_enabled: false
|
blank_issues_enabled: false
|
||||||
contact_links:
|
contact_links:
|
||||||
- name: DOCS
|
- name: DOCS
|
||||||
url: https://github.com/fatedier/frp
|
url: https://github.com/fatedier/frp/blob/master/README.md
|
||||||
about: Here you can find out how to configure frp.
|
about: Here you can find out how to configure frp.
|
||||||
|
9
.github/ISSUE_TEMPLATE/feature_request.md
vendored
9
.github/ISSUE_TEMPLATE/feature_request.md
vendored
@ -9,7 +9,7 @@ assignees: ''
|
|||||||
|
|
||||||
<!-- From Chinese to English by machine translation, welcome to revise and polish. -->
|
<!-- From Chinese to English by machine translation, welcome to revise and polish. -->
|
||||||
|
|
||||||
**The solution you want**
|
**[REQUIRED] The solution you want**
|
||||||
<!--A clear and concise description of the solution you want. -->
|
<!--A clear and concise description of the solution you want. -->
|
||||||
|
|
||||||
**Alternatives considered**
|
**Alternatives considered**
|
||||||
@ -18,5 +18,10 @@ assignees: ''
|
|||||||
**How to implement this function**
|
**How to implement this function**
|
||||||
<!--Implementation steps for the solution you want. -->
|
<!--Implementation steps for the solution you want. -->
|
||||||
|
|
||||||
**Application scenarios of this function**
|
**[REQUIRED] Application scenarios of this function**
|
||||||
<!--Make a clear and concise description of the application scenario of the solution you want. -->
|
<!--Make a clear and concise description of the application scenario of the solution you want. -->
|
||||||
|
|
||||||
|
**Checklist**:
|
||||||
|
<!--- Make sure you've completed the following steps (put an "X" between of brackets): -->
|
||||||
|
- [] I included all information required in the sections above
|
||||||
|
- [] I made sure there are no duplicates of this report [(Use Search)](https://github.com/fatedier/frp/issues?q=is%3Aissue)
|
26
.github/workflows/autocloser.yml
vendored
Normal file
26
.github/workflows/autocloser.yml
vendored
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
name: Autocloser
|
||||||
|
on:
|
||||||
|
issues:
|
||||||
|
types: [opened]
|
||||||
|
jobs:
|
||||||
|
autoclose:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Autoclose issues that did not follow issue template
|
||||||
|
uses: roots/issue-closer@v1.1
|
||||||
|
with:
|
||||||
|
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
issue-close-message: >
|
||||||
|
Hello @${{ github.event.issue.user.login }}! :wave:
|
||||||
|
Thank you very much for reporting it.
|
||||||
|
|
||||||
|
|
||||||
|
However, **your report doesn't follow the issue template**,
|
||||||
|
so it is being automatically closed. We are really sorry for that,
|
||||||
|
but we need all reports to follow the template, or else it won't be
|
||||||
|
possible to understand and help with all issues.
|
||||||
|
|
||||||
|
|
||||||
|
Please, create a new issue following the template, or reopen this
|
||||||
|
same issue to edit and provide all required information.
|
||||||
|
issue-pattern: 'I included all information required in the sections above'
|
Loading…
Reference in New Issue
Block a user