Skip to content

Commit 6df8f1c

Browse files
committed
chore(github): add stale workflow
1 parent 228d4c9 commit 6df8f1c

File tree

2 files changed

+45
-9
lines changed

2 files changed

+45
-9
lines changed

.github/workflows/reproduction.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: reproduction
2+
3+
on:
4+
schedule:
5+
- cron: '30 1 * * *'
6+
7+
jobs:
8+
reproduction:
9+
runs-on: ubuntu-latest
10+
11+
permissions:
12+
issues: write
13+
14+
steps:
15+
- uses: actions/stale@v9
16+
with:
17+
days-before-stale: -1 # Issues and PR will never be flagged stale automatically.
18+
stale-issue-label: 'needs reproduction' # Label that flags an issue as stale.
19+
only-labels: 'needs reproduction' # Only process these issues
20+
days-before-issue-close: 7
21+
ignore-updates: true
22+
remove-stale-when-updated: false
23+
close-issue-message: This issue was closed because it was open for 7 days without a reproduction.
24+
close-issue-label: closed-by-bot
25+
operations-per-run: 300 #default 30

.github/workflows/stale.yml

Lines changed: 20 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,23 @@ jobs:
1414
steps:
1515
- uses: actions/stale@v9
1616
with:
17-
days-before-stale: -1 # Issues and PR will never be flagged stale automatically.
18-
stale-issue-label: 'needs reproduction' # Label that flags an issue as stale.
19-
only-labels: 'needs reproduction' # Only process these issues
20-
days-before-issue-close: 7
21-
ignore-updates: true
22-
remove-stale-when-updated: false
23-
close-issue-message: This issue was closed because it was open for 7 days without a reproduction.
24-
close-issue-label: closed-by-bot
25-
operations-per-run: 300 #default 30
17+
repo-token: ${{ secrets.GITHUB_TOKEN }}
18+
days-before-pr-stale: -1
19+
days-before-stale: 60
20+
days-before-close: 7
21+
stale-issue-label: 'stale'
22+
close-issue-label: 'closed-by-bot'
23+
close-issue-message: |
24+
Hi! 👋
25+
26+
This issue has been automatically **closed** due to prolonged inactivity.
27+
28+
We're a small team and can't address every report, but we appreciate your feedback and contributions.
29+
30+
If this issue is still relevant with the latest version of Nuxt UI, please feel free to reopen or create a new issue with updated details.
31+
32+
Thank you for your understanding and support!
33+
34+
— Nuxt UI Team
35+
exempt-issue-labels: 'feature,announcement'
36+
operations-per-run: 300

0 commit comments

Comments
 (0)