Skip to content

Commit e4e67ab

Browse files
committed
ci: avoid checkout for reproduction comment
1 parent f5f23a0 commit e4e67ab

File tree

2 files changed

+36
-39
lines changed

2 files changed

+36
-39
lines changed

β€Ž.github/reproduire/needs-reproduction.mdβ€Ž

Lines changed: 0 additions & 33 deletions
This file was deleted.

β€Ž.github/workflows/reproduction.ymlβ€Ž

Lines changed: 36 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,39 @@ permissions:
88

99
jobs:
1010
reproduire:
11-
runs-on: ubuntu-latest
12-
steps:
13-
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
14-
- uses: Hebilicious/reproduire@4b686ae9cbb72dad60f001d278b6e3b2ce40a9ac # v0.0.9-mp
15-
with:
16-
label: needs reproduction
11+
uses: nuxt/.github/.github/workflows/needs-reproduction.yml@main
12+
with:
13+
comment: |
14+
Would you be able to provide a [reproduction](https://nuxt.com/docs/community/reporting-bugs#create-a-minimal-reproduction)? πŸ™
15+
16+
<details>
17+
<summary>More info</summary>
18+
19+
### Why do I need to provide a reproduction?
20+
21+
Reproductions make it possible for us to triage and fix issues quickly with a relatively small team. It helps us discover the source of the problem, and also can reveal assumptions you or we might be making.
22+
23+
### What will happen?
24+
25+
If you've provided a reproduction, we'll remove the label and try to reproduce the issue. If we can, we'll mark it as a bug and prioritise it based on its severity and how many people we think it might affect.
26+
27+
If `needs reproduction` labeled issues don't receive any substantial activity (e.g., new comments featuring a reproduction link), we'll close them. That's not because we don't care! At any point, feel free to comment with a reproduction and we'll reopen it.
28+
29+
### How can I create a reproduction?
30+
31+
We have a couple of templates for starting with a minimal reproduction:
32+
33+
πŸ‘‰ https://stackblitz.com/github/nuxt/test-utils/tree/main/examples/app-vitest
34+
πŸ‘‰ https://stackblitz.com/github/nuxt/test-utils/tree/main/examples/app-jest
35+
πŸ‘‰ https://stackblitz.com/github/nuxt/test-utils/tree/main/examples/module
36+
37+
A public GitHub repository is also perfect. πŸ‘Œ
38+
39+
Please ensure that the reproduction is as **minimal** as possible. See more details [in our guide](https://nuxt.com/docs/community/reporting-bugs#create-a-minimal-reproduction).
40+
41+
You might also find these other articles interesting and/or helpful:
42+
43+
- [The Importance of Reproductions](https://antfu.me/posts/why-reproductions-are-required)
44+
- [How to Generate a Minimal, Complete, and Verifiable Example](https://stackoverflow.com/help/mcve)
45+
46+
</details>

0 commit comments

Comments
Β (0)