Skip to content

Commit 0dc73bb

Browse files
committed
ci: adds reproduction workflow
1 parent b16d5a5 commit 0dc73bb

File tree

2 files changed

+47
-0
lines changed

2 files changed

+47
-0
lines changed

Diff for: .github/needs-reproduction.md

+31
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
Would you be able to provide a [reproduction](https://nuxt.com/docs/community/reporting-bugs/#create-a-minimal-reproduction)? 🙏
2+
3+
<details>
4+
<summary>More info</summary>
5+
6+
### Why do I need to provide a reproduction?
7+
8+
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.
9+
10+
### What will happen?
11+
12+
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.
13+
14+
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.
15+
16+
### How can I create a reproduction?
17+
18+
We have a template for starting with a minimal reproduction:
19+
20+
👉 https://stackblitz.com/github/nuxt/starter/tree/module
21+
22+
A public GitHub repository is also perfect. 👌
23+
24+
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).
25+
26+
You might also find these other articles interesting and/or helpful:
27+
28+
- [The Importance of Reproductions](https://antfu.me/posts/why-reproductions-are-required)
29+
- [How to Generate a Minimal, Complete, and Verifiable Example](https://stackoverflow.com/help/mcve)
30+
31+
</details>

Diff for: .github/workflows/reproduction.yml

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
name: Reproduire
2+
on:
3+
issues:
4+
types: [labeled]
5+
6+
permissions:
7+
issues: write
8+
9+
jobs:
10+
reproduire:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
14+
- uses: Hebilicious/reproduire@4b686ae9cbb72dad60f001d278b6e3b2ce40a9ac # v0.0.9-mp
15+
with:
16+
label: needs reproduction

0 commit comments

Comments
 (0)