Skip to content

Commit f8a6bd3

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

File tree

2 files changed

+44
-9
lines changed

2 files changed

+44
-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: 19 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,22 @@ 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+
days-before-pr-stale: -1
18+
days-before-stale: 60
19+
days-before-close: 7
20+
stale-issue-label: 'stale'
21+
close-issue-label: 'closed-by-bot'
22+
close-issue-message: |
23+
Hi! 👋
24+
25+
This issue has been automatically **closed** due to prolonged inactivity.
26+
27+
We're a small team and can't address every report, but we appreciate your feedback and contributions.
28+
29+
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.
30+
31+
Thank you for your understanding and support!
32+
33+
— Nuxt UI Team
34+
exempt-issue-labels: 'feature,announcement'
35+
operations-per-run: 300

0 commit comments

Comments
 (0)