Skip to content

Commit d9f8d56

Browse files
feat: add stale workflow (#2555)
1 parent ca5c9b4 commit d9f8d56

File tree

1 file changed

+68
-0
lines changed

1 file changed

+68
-0
lines changed
Lines changed: 68 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,68 @@
1+
name: Close Stale Issues and PRs
2+
3+
on:
4+
schedule:
5+
# Run daily at 2 AM UTC
6+
- cron: '0 2 * * *'
7+
workflow_dispatch: # Allow manual trigger
8+
9+
permissions:
10+
issues: write
11+
pull-requests: write
12+
13+
jobs:
14+
stale:
15+
runs-on: ubuntu-latest
16+
steps:
17+
- uses: actions/stale@5bef64f19d7facfb25b37b414482c7164d639639
18+
with:
19+
days-before-stale: 30
20+
days-before-close: 14
21+
remove-stale-when-updated: true
22+
stale-issue-label: 'stale'
23+
stale-pr-label: 'stale'
24+
close-issue-label: 'stale'
25+
close-pr-label: 'stale'
26+
stale-issue-message: |
27+
Thank you for your contribution! πŸ™
28+
29+
This issue has been inactive for 30 days and is now marked as stale. If there's no activity in the next 14 days, it will be closed to keep our repository tidy.
30+
31+
**To keep this issue open**, feel free to:
32+
- Leave a comment explaining your progress or needs
33+
- Push a commit with updates
34+
- Ask for help from maintainers
35+
36+
We appreciate your interest in npmx and hope you'll continue contributing! πŸ’™
37+
stale-pr-message: |
38+
Thank you for your contribution! πŸ™
39+
40+
This PR has been inactive for 30 days and is now marked as stale. If there's no activity in the next 14 days, it will be closed to keep our repository tidy.
41+
42+
**To keep this PR open**, feel free to:
43+
- Leave a comment explaining your progress or needs
44+
- Push a commit with updates
45+
- Ask for help from maintainers
46+
47+
We appreciate your interest in npmx and hope you'll continue contributing! πŸ’™
48+
close-issue-message: |
49+
Thank you for your contribution! πŸ™
50+
51+
Unfortunately, this issue has been marked as stale for 14 days without any updates and we're now closing it to keep our repository tidy.
52+
53+
**If you'd like to continue working on this**, feel free to:
54+
- Reopen this issue
55+
- Leave a comment explaining your progress
56+
57+
We appreciate your interest in npmx and hope you'll continue contributing! πŸ’™
58+
close-pr-message: |
59+
Thank you for your contribution! πŸ™
60+
61+
Unfortunately, this PR has been marked as stale for 14 days without any updates and we're now closing it to keep our repository tidy.
62+
63+
**If you'd like to continue working on this**, feel free to:
64+
- Reopen this PR
65+
- Leave a comment explaining your progress
66+
67+
We appreciate your interest in npmx and hope you'll continue contributing! πŸ’™
68+
operations-per-run: 100

0 commit comments

Comments
Β (0)