Skip to content

Commit 558bb88

Browse files
authored
chore: rename needs reproduction label (#5260)
1 parent bca7705 commit 558bb88

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
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 to [StackBlitz](https://stackblitz.com/fork/github/vitest-dev/vitest/tree/main/examples/basic?initialPath=__vitest__/) (you can also use [examples](https://github.com/vitest-dev/vitest/tree/main/examples)) or a github 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.
21+
description: Please provide a link to [StackBlitz](https://stackblitz.com/fork/github/vitest-dev/vitest/tree/main/examples/basic?initialPath=__vitest__/) (you can also use [examples](https://github.com/vitest-dev/vitest/tree/main/examples)) or a github 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 "needs reproduction" label. If no reproduction is provided after 3 days, it will be auto-closed.
2222
placeholder: Reproduction
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
@@ -8,10 +8,10 @@ jobs:
88
close-issues:
99
runs-on: ubuntu-latest
1010
steps:
11-
- name: need reproduction
11+
- name: needs reproduction
1212
uses: actions-cool/issues-helper@v3
1313
with:
1414
actions: close-issues
1515
token: ${{ secrets.GITHUB_TOKEN }}
16-
labels: need reproduction
16+
labels: needs reproduction
1717
inactive-day: 3

.github/workflows/issue-labeled.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,12 @@ jobs:
88
reply-labeled:
99
runs-on: ubuntu-latest
1010
steps:
11-
- name: need reproduction
12-
if: github.event.label.name == 'need reproduction'
11+
- name: needs reproduction
12+
if: github.event.label.name == 'needs reproduction'
1313
uses: actions-cool/issues-helper@v3
1414
with:
1515
actions: create-comment
1616
token: ${{ secrets.GITHUB_TOKEN }}
1717
issue-number: ${{ github.event.issue.number }}
1818
body: |
19-
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://vitest.new) (you can also use [examples](https://github.com/vitest-dev/vitest/tree/main/examples)). Issues marked with `need reproduction` will be closed if they have no activity within 3 days.
19+
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://vitest.new) (you can also use [examples](https://github.com/vitest-dev/vitest/tree/main/examples)). Issues marked with `needs reproduction` will be closed if they have no activity within 3 days.

0 commit comments

Comments
 (0)