add issue-check action
This commit is contained in:
@@ -7,9 +7,19 @@ assignees: ''
|
|||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
|
## Prerequisites
|
||||||
|
|
||||||
|
These are MANDATORY, otherwise the issue will be automatically closed.
|
||||||
|
|
||||||
|
* [] I agree to fill this issue template.
|
||||||
|
* [] I have read the [Readme] and [Contributing guide].
|
||||||
|
|
||||||
|
[Readme]: https://github.com/premnirmal/StockTicker/blob/master/README.md
|
||||||
|
[Contributing guide]: https://github.com/premnirmal/StockTicker/blob/master/CONTRIBUTING.md
|
||||||
|
|
||||||
**Describe the bug**
|
**Describe the bug**
|
||||||
A clear and concise description of what the bug is.
|
A clear and concise description of what the bug is.
|
||||||
- App Version [e.g. 3.9.123] **Please make sure you are not on an outdated app version before you file an issue, otherwise your issue will be closed. You can check the latest version in the releases part of the repo**.
|
- App Version [e.g. 4.0.060] **Please make sure you are not on an outdated app version before you file an issue, otherwise your issue will be closed. You can check the latest version in the releases part of the repo**.
|
||||||
|
|
||||||
**To Reproduce**
|
**To Reproduce**
|
||||||
Steps to reproduce the behavior:
|
Steps to reproduce the behavior:
|
||||||
@@ -25,8 +35,8 @@ A clear and concise description of what you expected to happen.
|
|||||||
If applicable, add screenshots to help explain your problem.
|
If applicable, add screenshots to help explain your problem.
|
||||||
|
|
||||||
**Smartphone (please complete the following information):**
|
**Smartphone (please complete the following information):**
|
||||||
- Device: [e.g. iPhone6]
|
- Device: [e.g. Pixel 10]
|
||||||
- OS: [e.g. iOS8.1]
|
- OS: [e.g. Android 16]
|
||||||
|
|
||||||
**Additional context**
|
**Additional context**
|
||||||
Add any other context about the problem here.
|
Add any other context about the problem here.
|
||||||
|
|||||||
@@ -7,6 +7,16 @@ assignees: ''
|
|||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
|
## Prerequisites
|
||||||
|
|
||||||
|
These are MANDATORY, otherwise the issue will be automatically closed.
|
||||||
|
|
||||||
|
* [] I agree to fill this issue template.
|
||||||
|
* [] I have read the [Readme] and [Contributing guide].
|
||||||
|
|
||||||
|
[Readme]: https://github.com/premnirmal/StockTicker/blob/master/README.md
|
||||||
|
[Contributing guide]: https://github.com/premnirmal/StockTicker/blob/master/CONTRIBUTING.md
|
||||||
|
|
||||||
**Is your feature request related to a problem? Please describe.**
|
**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 [...]
|
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
|
||||||
|
|
||||||
|
|||||||
@@ -0,0 +1,16 @@
|
|||||||
|
name: Issue Check
|
||||||
|
|
||||||
|
on:
|
||||||
|
issues:
|
||||||
|
types: [opened, edited]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
autoclose:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Autoclose issues that did not follow issue template
|
||||||
|
uses: roots/issue-closer@v1.2
|
||||||
|
with:
|
||||||
|
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
issue-close-message: "@${issue.user.login} this issue was automatically closed because it did not follow the issue template."
|
||||||
|
issue-pattern: "/\[\] I agree to fill this issue template."
|
||||||
Reference in New Issue
Block a user