Skip to content

Commit 738ecae

Browse files
authored
chore: needs reproduction label name (#15878)
1 parent 642d528 commit 738ecae

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

.github/ISSUE_TEMPLATE/bug_report.yml

Lines changed: 1 addition & 1 deletion
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 via [vite.new](https://vite.new/) or a link to a repo that can reproduce the problem you ran into. `npm create vite@latest` and `npm create vite-extra@latest` (for SSR or library repros) can be used as a starter template. A [minimal reproduction](https://stackoverflow.com/help/minimal-reproducible-example) is required ([Why?](https://antfu.me/posts/why-reproductions-are-required)). 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 via [vite.new](https://vite.new/) or a link to a repo that can reproduce the problem you ran into. `npm create vite@latest` and `npm create vite-extra@latest` (for SSR or library repros) can be used as a starter template. A [minimal reproduction](https://stackoverflow.com/help/minimal-reproducible-example) is required ([Why?](https://antfu.me/posts/why-reproductions-are-required)). If a report is vague (e.g. just a generic error message) and has no reproduction, it will receive a "needs reproduction" label. If no reproduction is provided after 3 days, it will be auto-closed.
2222
placeholder: Reproduction URL
2323
validations:
2424
required: true

.github/workflows/issue-close-require.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@ jobs:
99
if: github.repository == 'vitejs/vite'
1010
runs-on: ubuntu-latest
1111
steps:
12-
- name: need reproduction
12+
- name: needs reproduction
1313
uses: actions-cool/issues-helper@v3
1414
with:
1515
actions: "close-issues"
1616
token: ${{ secrets.GITHUB_TOKEN }}
17-
labels: "need reproduction"
17+
labels: "needs reproduction"
1818
inactive-day: 3

.github/workflows/issue-labeled.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
actions: "remove-labels"
1717
token: ${{ secrets.GITHUB_TOKEN }}
1818
issue-number: ${{ github.event.issue.number }}
19-
labels: "pending triage, need reproduction"
19+
labels: "pending triage, needs reproduction"
2020

2121
- name: remove pending
2222
if: contains(github.event.label.description, '(priority)') && contains(github.event.issue.labels.*.name, 'pending triage')
@@ -36,13 +36,13 @@ jobs:
3636
issue-number: ${{ github.event.issue.number }}
3737
labels: "enhancement: pending triage"
3838

39-
- name: need reproduction
40-
if: github.event.label.name == 'need reproduction'
39+
- name: needs reproduction
40+
if: github.event.label.name == 'needs reproduction'
4141
uses: actions-cool/issues-helper@v3
4242
with:
4343
actions: "create-comment, remove-labels"
4444
token: ${{ secrets.GITHUB_TOKEN }}
4545
issue-number: ${{ github.event.issue.number }}
4646
body: |
47-
Hello @${{ github.event.issue.user.login }}. Please provide a [minimal reproduction](https://stackoverflow.com/help/minimal-reproducible-example) using a GitHub repository or [StackBlitz](https://vite.new). Issues marked with `need reproduction` will be closed if they have no activity within 3 days.
47+
Hello @${{ github.event.issue.user.login }}. Please provide a [minimal reproduction](https://stackoverflow.com/help/minimal-reproducible-example) using a GitHub repository or [StackBlitz](https://vite.new). Issues marked with `needs reproduction` will be closed if they have no activity within 3 days.
4848
labels: "pending triage"

0 commit comments

Comments
 (0)