Skip to content

Commit a200dae

Browse files
committed
ci: avoid checkout for reproduction comment
1 parent 66b8497 commit a200dae

2 files changed

Lines changed: 34 additions & 37 deletions

File tree

.github/reproduire/needs-reproduction.md

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

.github/workflows/reproduction.yml

Lines changed: 34 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,37 @@ 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@a4b274773e3d6e8bef547385710473af11f5ec5d # 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 template for starting with a minimal reproduction:
32+
33+
👉 https://stackblitz.com/github/nuxt/image/tree/main/example
34+
35+
A public GitHub repository is also perfect. 👌
36+
37+
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).
38+
39+
You might also find these other articles interesting and/or helpful:
40+
41+
- [The Importance of Reproductions](https://antfu.me/posts/why-reproductions-are-required)
42+
- [How to Generate a Minimal, Complete, and Verifiable Example](https://stackoverflow.com/help/mcve)
43+
44+
</details>

0 commit comments

Comments
 (0)