chore(github): simplify the creation steps of issue/pr
This commit is contained in:
parent
ecff5630a6
commit
a2d01365de
6 changed files with 32 additions and 56 deletions
12
.github/ISSUE_TEMPLATE/bug_report.md
vendored
12
.github/ISSUE_TEMPLATE/bug_report.md
vendored
|
@ -3,15 +3,11 @@ name: Bug Report
|
||||||
about: Create a report to help us improve
|
about: Create a report to help us improve
|
||||||
---
|
---
|
||||||
|
|
||||||
<!-- NOTE: Please maintain all sections, otherwise the issue will be automatically closed :) -->
|
We sincerely recommend that you first complete the following checklist:
|
||||||
|
|
||||||
## Checklist
|
- Read the [tutorials](https://cotes2020.github.io/chirpy-demo/categories/tutorial/) and know the correct effect of the functional design.
|
||||||
|
- No similar [issue](https://github.com/cotes2020/jekyll-theme-chirpy/issues?q=is%3Aissue)(including closed ones) exists
|
||||||
<!-- Please complete the following list of tasks, and then check it by changing the "[ ]" to "[x]" -->
|
- Found the bug on the latest code of the `master` branch.
|
||||||
|
|
||||||
- [ ] I have read the [tutorials](https://cotes2020.github.io/chirpy-demo/categories/tutorial/) and know the correct effect of the functional design.
|
|
||||||
- [ ] There are no similar reports on [existing issues](https://github.com/cotes2020/jekyll-theme-chirpy/issues?q=is%3Aissue) (including closed ones).
|
|
||||||
- [ ] I found the bug on the latest code of the `master` branch.
|
|
||||||
|
|
||||||
## Describe the bug
|
## Describe the bug
|
||||||
|
|
||||||
|
|
13
.github/ISSUE_TEMPLATE/feature_request.md
vendored
13
.github/ISSUE_TEMPLATE/feature_request.md
vendored
|
@ -4,16 +4,11 @@ about: Suggest an idea for this project
|
||||||
labels: enhancement
|
labels: enhancement
|
||||||
---
|
---
|
||||||
|
|
||||||
<!-- NOTE: Please maintain all sections, otherwise the issue will be automatically closed :) -->
|
We sincerely recommend that you first complete the following checklist:
|
||||||
|
|
||||||
## Checklist
|
|
||||||
|
|
||||||
<!-- Please complete the following list of tasks, and then check it by changing the "[ ]" to "[x]" -->
|
|
||||||
- [ ] I have read the [contributing guidelines](https://github.com/cotes2020/jekyll-theme-chirpy/blob/master/.github/CONTRIBUTING.md).
|
|
||||||
- [ ] There is no similar request on [existing issues](https://github.com/cotes2020/jekyll-theme-chirpy/issues?q=is%3Aissue) (including closed ones).
|
|
||||||
- [ ] I have read the [project progress](https://github.com/cotes2020/jekyll-theme-chirpy/projects) and know the current progress of the project.
|
|
||||||
- [ ] I was in the `master` branch of the latest code.
|
|
||||||
|
|
||||||
|
- Read the [tutorials](https://cotes2020.github.io/chirpy-demo/categories/tutorial/) and know the correct effect of the functional design.
|
||||||
|
- No similar [issue](https://github.com/cotes2020/jekyll-theme-chirpy/issues?q=is%3Aissue)(including closed ones) exists
|
||||||
|
- This PR is built on top of the latest code in the `master` branch.
|
||||||
|
|
||||||
## Is your feature request related to a problem? Please describe
|
## Is your feature request related to a problem? Please describe
|
||||||
|
|
||||||
|
|
24
.github/ISSUE_TEMPLATE/help_wanted.md
vendored
Normal file
24
.github/ISSUE_TEMPLATE/help_wanted.md
vendored
Normal file
|
@ -0,0 +1,24 @@
|
||||||
|
---
|
||||||
|
name: Help Wanted
|
||||||
|
about: Need help
|
||||||
|
labels: 'help wanted'
|
||||||
|
---
|
||||||
|
|
||||||
|
We sincerely recommend that you first complete the following checklist:
|
||||||
|
|
||||||
|
- Read the [tutorials](https://cotes2020.github.io/chirpy-demo/categories/tutorial/) and know the correct effect of the functional design.
|
||||||
|
- No similar [issue](https://github.com/cotes2020/jekyll-theme-chirpy/issues?q=is%3Aissue)(including closed ones) exists
|
||||||
|
- Try to find the answer on [Jekyll Forum](https://talk.jekyllrb.com/) and [StackOverflow](https://stackoverflow.com/questions/tagged/jekyll).
|
||||||
|
- The ask is based on the latest code of the `master` branch.
|
||||||
|
|
||||||
|
## Description
|
||||||
|
|
||||||
|
<!-- Please describe your need in detail. -->
|
||||||
|
|
||||||
|
## What you have tried
|
||||||
|
|
||||||
|
<!--
|
||||||
|
Describe the steps you went through, such as the configuration process.
|
||||||
|
|
||||||
|
If needed, please attach output logs, screenshots, etc. to describe your issue.
|
||||||
|
-->
|
13
.github/ISSUE_TEMPLATE/question.md
vendored
13
.github/ISSUE_TEMPLATE/question.md
vendored
|
@ -4,17 +4,4 @@ about: Ask whatever you want
|
||||||
labels: question
|
labels: question
|
||||||
---
|
---
|
||||||
|
|
||||||
<!-- NOTE: Please maintain all sections, otherwise the issue will be automatically closed :) -->
|
|
||||||
|
|
||||||
## Checklist
|
|
||||||
|
|
||||||
<!-- Please complete the following list of tasks, and then check it by changing the "[ ]" to "[x]" -->
|
|
||||||
|
|
||||||
- [ ] I have read the [newlest tutorials](https://cotes2020.github.io/chirpy-demo/categories/tutorial/) and know the correct effect of the functional design.
|
|
||||||
- [ ] There is no similar question on [existing issues](https://github.com/cotes2020/jekyll-theme-chirpy/issues?q=is%3Aissue) (including closed ones).
|
|
||||||
- [ ] I have tried to find the answer on [Jekyll Forum](https://talk.jekyllrb.com/) and [StackOverflow](https://stackoverflow.com/questions/tagged/jekyll).
|
|
||||||
- [ ] My question is based on the latest code of the `master` branch.
|
|
||||||
|
|
||||||
## Description
|
|
||||||
|
|
||||||
<!-- Please describe your question in detail. -->
|
<!-- Please describe your question in detail. -->
|
||||||
|
|
8
.github/PULL_REQUEST_TEMPLATE.md
vendored
8
.github/PULL_REQUEST_TEMPLATE.md
vendored
|
@ -32,11 +32,3 @@ Please describe the tests that you ran to verify your changes. Provide instructi
|
||||||
- Ruby version: <!-- by running: `ruby -v` -->
|
- Ruby version: <!-- by running: `ruby -v` -->
|
||||||
- Bundler version: <!-- by running: `bundle -v`-->
|
- Bundler version: <!-- by running: `bundle -v`-->
|
||||||
- Jekyll version: <!-- by running: `bundle list | grep " jekyll "` -->
|
- Jekyll version: <!-- by running: `bundle list | grep " jekyll "` -->
|
||||||
|
|
||||||
### Checklist
|
|
||||||
|
|
||||||
<!-- Select checkboxes by change the "[ ]" to "[x]" -->
|
|
||||||
- [ ] I have performed a self-review of my code
|
|
||||||
- [ ] I have commented on my code, particularly in hard-to-understand areas
|
|
||||||
- [ ] I have made corresponding changes to the documentation
|
|
||||||
- [ ] My changes generate no new warnings
|
|
||||||
|
|
18
.github/workflows/issue-interceptor.yml
vendored
18
.github/workflows/issue-interceptor.yml
vendored
|
@ -1,18 +0,0 @@
|
||||||
name: Intercept bad issues
|
|
||||||
|
|
||||||
on:
|
|
||||||
issues:
|
|
||||||
types: [opened, edited]
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
auto_close_issues:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- name: Checkout
|
|
||||||
uses: actions/checkout@v1
|
|
||||||
- name: Auto close issues that did not follow template
|
|
||||||
uses: lucasbento/auto-close-issues@v1.0.2
|
|
||||||
with:
|
|
||||||
github-token: ${{ secrets.GITHUB_TOKEN }}
|
|
||||||
issue-close-message: ":wave: Hi @${issue.user.login},\n\nThis issue is being automatically closed because it does not follow the issue template. Please DO NOT open another similar issue, try to edit the current issue according to the template, then it will be reopened automatically."
|
|
||||||
closed-issues-label: "🙁 Not following issue template"
|
|
Loading…
Reference in a new issue