-
Notifications
You must be signed in to change notification settings - Fork 445
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
151 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
name: 🐞 Bug report | ||
description: Create a report to help us reproduce and fix the bug | ||
title: "[Bug] " | ||
labels: ['Bug'] | ||
|
||
body: | ||
- type: checkboxes | ||
attributes: | ||
label: Checklist | ||
options: | ||
- label: 1. I have searched related issues but cannot get the expected help. | ||
- label: 2. The bug has not been fixed in the latest version. | ||
- type: textarea | ||
attributes: | ||
label: Describe the bug | ||
description: A clear and concise description of what the bug is. | ||
validations: | ||
required: true | ||
- type: textarea | ||
attributes: | ||
label: Reproduction | ||
description: | | ||
1. What command or script did you run? | ||
placeholder: | | ||
A placeholder for the command. | ||
validations: | ||
required: true | ||
- type: textarea | ||
attributes: | ||
label: Error traceback | ||
description: | | ||
If applicable, paste the error trackback here. | ||
placeholder: Logs and traceback here. | ||
render: Shell | ||
- type: markdown | ||
attributes: | ||
value: > | ||
If you have already identified the reason, you can provide the information here. If you are willing to create a PR to fix it, please also leave a comment here and that would be much appreciated! | ||
Thanks for your bug report. We appreciate it a lot. |
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,31 @@ | ||
name: 🚀 Feature request | ||
description: Suggest an idea for this project | ||
title: "[Feature] " | ||
|
||
body: | ||
- type: markdown | ||
attributes: | ||
value: | | ||
We strongly appreciate you creating a PR to implement this feature [here](https://github.com/InternLM/lmdeploy/pulls)! | ||
If you need our help, please fill in as much of the following form as you're able to. | ||
**The less clear the description, the longer it will take to solve it.** | ||
- type: textarea | ||
attributes: | ||
label: Motivation | ||
description: | | ||
A clear and concise description of the motivation of the feature. | ||
Ex1. It is inconvenient when \[....\]. | ||
validations: | ||
required: true | ||
- type: textarea | ||
attributes: | ||
label: Related resources | ||
description: | | ||
If there is an official code release or third-party implementations, please also provide the information here, which would be very helpful. | ||
- type: textarea | ||
attributes: | ||
label: Additional context | ||
description: | | ||
Add any other context or screenshots about the feature request here. | ||
If you would like to implement the feature and create a PR, please leave a comment here and that would be much appreciated. |
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,23 @@ | ||
name: 📚 Documentation | ||
description: Report an issue related to the documentation. | ||
labels: "kind/doc,status/unconfirmed" | ||
title: "[Docs] " | ||
|
||
body: | ||
- type: textarea | ||
attributes: | ||
label: 📚 The doc issue | ||
description: > | ||
A clear and concise description the issue. | ||
validations: | ||
required: true | ||
|
||
- type: textarea | ||
attributes: | ||
label: Suggest a potential alternative/fix | ||
description: > | ||
Tell us how we could improve the documentation in this regard. | ||
- type: markdown | ||
attributes: | ||
value: > | ||
Thanks for contributing 🎉! |
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,25 @@ | ||
Thanks for your contribution and we appreciate it a lot. The following instructions would make your pull request more healthy and more easily receiving feedbacks. If you do not understand some items, don't worry, just make the pull request and seek help from maintainers. | ||
|
||
## Motivation | ||
|
||
Please describe the motivation of this PR and the goal you want to achieve through this PR. | ||
|
||
## Modification | ||
|
||
Please briefly describe what modification is made in this PR. | ||
|
||
## BC-breaking (Optional) | ||
|
||
Does the modification introduce changes that break the backward-compatibility of the downstream repositories? | ||
If so, please describe how it breaks the compatibility and how the downstream projects should modify their code to keep compatibility with this PR. | ||
|
||
## Use cases (Optional) | ||
|
||
If this PR introduces a new feature, it is better to list some use cases here, and update the documentation. | ||
|
||
## Checklist | ||
|
||
1. Pre-commit or other linting tools are used to fix the potential lint issues. | ||
2. The modification is covered by complete unit tests. If not, please add more unit tests to ensure the correctness. | ||
3. If the modification has a dependency on downstream projects of a newer version, this PR should be tested with all supported versions of downstream projects. | ||
4. The documentation has been modified accordingly, like docstring or example tutorials. |
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,32 @@ | ||
name: 'Close stale issues and PRs' | ||
|
||
on: | ||
schedule: | ||
# check issue and pull request once at 01:30 a.m. every day | ||
- cron: '30 1 * * *' | ||
|
||
permissions: | ||
contents: read | ||
|
||
jobs: | ||
stale: | ||
permissions: | ||
issues: write | ||
pull-requests: write | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/stale@v7 | ||
with: | ||
stale-issue-message: 'This issue is marked as stale because it has been marked as invalid or awaiting response for 7 days without any further response. It will be closed in 5 days if the stale label is not removed or if there is no further response.' | ||
stale-pr-message: 'This PR is marked as stale because there has been no activity in the past 45 days. It will be closed in 10 days if the stale label is not removed or if there is no further updates.' | ||
close-issue-message: 'This issue is closed because it has been stale for 5 days. Please open a new issue if you have similar issues or you have any new updates now.' | ||
close-pr-message: 'This PR is closed because it has been stale for 10 days. Please reopen this PR if you have any updates and want to keep contributing the code.' | ||
# only issues/PRS with following labels are checked | ||
any-of-labels: 'invalid, awaiting response, duplicate' | ||
days-before-issue-stale: 7 | ||
days-before-pr-stale: 45 | ||
days-before-issue-close: 5 | ||
days-before-pr-close: 10 | ||
# automatically remove the stale label when the issues or the pull requests are updated or commented | ||
remove-stale-when-updated: true | ||
operations-per-run: 50 |