Skip to content

Commit 860b6e3

Browse files
authored
chore: minimal reproduction check in bug report (#4502)
1 parent e5b6a2d commit 860b6e3

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

.github/ISSUE_TEMPLATE/bug_report.yml

+4-2
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ body:
1818
id: reproduction
1919
attributes:
2020
label: Reproduction
21-
description: Please provide a link to a repo that can reproduce the problem you ran into. A reproduction is required unless you are absolutely sure that the issue is obvious and the provided information is enough to understand the problem. If a report is vague (e.g. just a generic error message) and has no reproduction, it will receive a "need reproduction" label. If no reproduction is provided after 3 days, it will be auto-closed.
21+
description: Please provide a link to a repo that can reproduce the problem you ran into. A [minimal reproduction](https://stackoverflow.com/help/minimal-reproducible-example) is required unless you are absolutely sure that the issue is obvious and the provided information is enough to understand the problem. If a report is vague (e.g. just a generic error message) and has no reproduction, it will receive a "need reproduction" label. If no reproduction is provided after 3 days, it will be auto-closed.
2222
placeholder: Reproduction
2323
validations:
2424
required: true
@@ -64,9 +64,11 @@ body:
6464
required: true
6565
- label: Read the [docs](https://vitejs.dev/guide).
6666
required: true
67-
- label: Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
67+
- label: Check that there isn't [already an issue](https://github.com/vitejs/vite/issues) that reports the same bug to avoid creating a duplicate.
6868
required: true
6969
- label: Make sure this is a Vite issue and not a framework-specific issue. For example, if it's a Vue SFC related bug, it should likely be reported to https://github.com/vuejs/vue-next instead.
7070
required: true
7171
- label: Check that this is a concrete bug. For Q&A open a [GitHub Discussion](https://github.com/vitejs/vite/discussions) or join our [Discord Chat Server](https://chat.vitejs.dev/).
7272
required: true
73+
- label: The provided reproduction is a [minimal reproducible example](https://stackoverflow.com/help/minimal-reproducible-example) of the bug.
74+
required: true

.github/workflows/issue-labeled.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,5 +36,5 @@ jobs:
3636
token: ${{ secrets.GITHUB_TOKEN }}
3737
issue-number: ${{ github.event.issue.number }}
3838
body: |
39-
Hello @${{ github.event.issue.user.login }}. Please provide a minimal reproduction using a GitHub repository or [codesandbox](https://codesandbox.io). Issues marked with `need reproduction` will be closed if they have no activity within 3 days.
39+
Hello @${{ github.event.issue.user.login }}. Please provide a [minimal reproduction](https://stackoverflow.com/help/minimal-reproducible-example) using a GitHub repository or [codesandbox](https://codesandbox.io). Issues marked with `need reproduction` will be closed if they have no activity within 3 days.
4040
labels: "pending triage"

0 commit comments

Comments
 (0)