-
-
Notifications
You must be signed in to change notification settings - Fork 171
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: Add reproduction workflow (#684)
- Loading branch information
1 parent
e4ea932
commit 30cf24c
Showing
3 changed files
with
59 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
Hello 👋 | ||
|
||
Please provide a [reproduction](https://nuxt.com/docs/community/reporting-bugs/#create-a-minimal-reproduction) for this issue 🙏 | ||
|
||
<details> | ||
<summary>How can I create a reproduction?</summary> | ||
|
||
Please use one of the following links to reproduce your issue. | ||
|
||
- https://stackblitz.com/github/nuxt/starter/tree/v3-stackblitz | ||
- https://codesandbox.io/s/github/nuxt/starter/v3-codesandbox | ||
|
||
Please ensure that the reproduction is as **minimal** as possible. This will allow us to isolate the issue as best as possible. | ||
|
||
Here are some more amazing posts about the importance of reproductions: | ||
- [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/minimal-reproducible-example) | ||
|
||
</details> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
name: Close incomplete issues | ||
on: | ||
workflow_dispatch: | ||
schedule: | ||
- cron: '30 1 * * *' # run every day | ||
|
||
permissions: | ||
issues: write | ||
|
||
jobs: | ||
stale: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/stale@v9 | ||
with: | ||
days-before-stale: -1 # Issues and PR will never be flagged stale automatically. | ||
stale-issue-label: 'needs reproduction' # Label that flags an issue as stale. | ||
only-labels: 'needs reproduction' # Only process these issues | ||
days-before-issue-close: 14 | ||
ignore-updates: true | ||
remove-stale-when-updated: false | ||
close-issue-message: This issue was closed because it was open for 14 days without a reproduction. | ||
close-issue-label: closed-by-bot | ||
operations-per-run: 300 #default 30 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
name: Reproduire | ||
on: | ||
issues: | ||
types: [labeled] | ||
|
||
permissions: | ||
issues: write | ||
|
||
jobs: | ||
reproduire: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: Hebilicious/reproduire@v1 | ||
with: | ||
label: needs-reproduction |