mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-14 12:14:41 +01:00
chore(github): add reproduire workflow
This commit is contained in:
30
.github/reproduire/needs-reproduction.md
vendored
Normal file
30
.github/reproduire/needs-reproduction.md
vendored
Normal file
@@ -0,0 +1,30 @@
|
|||||||
|
Would you be able to provide a [reproduction](https://nuxt.com/docs/community/reporting-bugs/#create-a-minimal-reproduction)? 🙏
|
||||||
|
|
||||||
|
<details>
|
||||||
|
<summary>More info</summary>
|
||||||
|
|
||||||
|
### Why do I need to provide a reproduction?
|
||||||
|
|
||||||
|
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.
|
||||||
|
|
||||||
|
### What will happen?
|
||||||
|
|
||||||
|
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.
|
||||||
|
|
||||||
|
If `needs reproduction` labeled issues don't receive any substantial activity (e.g., new comments featuring a reproduction link), they will be closed automatically after a while. That's not because we don't care! At any point, feel free to comment with a reproduction and we'll reopen it.
|
||||||
|
|
||||||
|
### How can I create a reproduction?
|
||||||
|
|
||||||
|
We have templates to create a minimal reproduction:
|
||||||
|
|
||||||
|
* **Nuxt**: https://codesandbox.io/p/devbox/nuxt-ui3-n3sxks
|
||||||
|
* **Vue**: https://codesandbox.io/p/devbox/nuxt-ui3-vue-4h5gqn
|
||||||
|
|
||||||
|
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).
|
||||||
|
|
||||||
|
You might also find these other articles interesting and/or helpful:
|
||||||
|
|
||||||
|
- [The Importance of Reproductions](https://antfu.me/posts/why-reproductions-are-required)
|
||||||
|
- [How to Generate a Minimal, Complete, and Verifiable Example](https://stackoverflow.com/help/mcve)
|
||||||
|
|
||||||
|
</details>
|
||||||
17
.github/workflows/reproduire.yml
vendored
Normal file
17
.github/workflows/reproduire.yml
vendored
Normal file
@@ -0,0 +1,17 @@
|
|||||||
|
name: reproduire
|
||||||
|
|
||||||
|
on:
|
||||||
|
issues:
|
||||||
|
types: [labeled]
|
||||||
|
|
||||||
|
permissions:
|
||||||
|
issues: write
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
reproduire:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
- uses: Hebilicious/reproduire@v1
|
||||||
|
with:
|
||||||
|
label: needs-reproduction # Optional, will default to this value.
|
||||||
Reference in New Issue
Block a user