Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add GitHub actions to close invalid issues (#3022)
* add close actions * fix with checkout * update issue templates * add reminder * update close message
- Loading branch information
1 parent
36f0ad2
commit a9010e4
Showing
7 changed files
with
89 additions
and
45 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
--- | ||
name: "✨ Feature Request" | ||
about: Suggest an idea or feature | ||
title: '' | ||
labels: 'type:feature' | ||
assignees: '' | ||
|
||
--- | ||
|
||
<!-- Click "Preview" for a more readable version -- | ||
Please read and follow the instructions before submitting an issue: | ||
- Read all our documentation, especially the [README](https://github.com/axios/axios/blob/master/README.md). It may contain information that helps you solve your issue. | ||
- Ensure your issue isn't already [reported](https://github.com/axios/axios/issues?utf8=%E2%9C%93&q=is%3Aissue). | ||
- If you aren't sure that the issue is caused by Axios or you just need help, please use [Stack Overflow](https://stackoverflow.com/questions/tagged/axios) or [our chat](https://gitter.im/mzabriskie/axios). | ||
- If you're reporting a bug, ensure it isn't already fixed in the latest Axios version. | ||
- Don't remove any title of the issue template, or it will be treated as invalid by the bot. | ||
⚠️👆 Feel free to these instructions before submitting the issue 👆⚠️ | ||
--> | ||
|
||
#### Is your feature request related to a problem? Please describe. | ||
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] | ||
|
||
#### Describe the solution you'd like | ||
A clear and concise description of what you want to happen. | ||
|
||
#### Describe alternatives you've considered | ||
A clear and concise description of any alternative solutions or features you've considered. | ||
|
||
#### Additional context | ||
Add any other context or screenshots about the feature request here. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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." |