8000 chore: add stale github action · rust-mcp-stack/rust-mcp-schema@771e059 · GitHub
[go: up one dir, main page]

Skip to content

Commit 771e059

committed
chore: add stale github action
1 parent 5e85573 commit 771e059

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed

.github/workflows/stale.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: Mark stale issues and pull requests
2+
3+
on:
4+
schedule:
5+
- cron: "0 0 * * *" # Runs daily at midnight UTC
6+
workflow_dispatch: # Allow manual trigger
7+
8+
jobs:
9+
stale:
10+
runs-on: ubuntu-latest
11+
12+
steps:
13+
- uses: actions/stale@v9
14+
with:
15+
repo-token: ${{ secrets.GITHUB_TOKEN }}
16+
ascending: true
17+
stale-issue-message: "This issue is stale because it has been open 30 days with no activity. It will close in 7 days unless additional input is provided. If you believe this issue is still relevant, please leave a comment or provide updated details. Thank you. (This is an automated message)"
18+
stale-pr-message: "This PR is stale because it has been open 90 days with no activity. It will close in 15 days unless additional input is provided. (This is an automated message)"
19+
close-issue-message: "This issue was closed because it has been stalled for 37 days with no activity."
20+
close-pr-message: "This PR was closed because it has been stalled for 105 days with no activity."
21+
days-before-issue-stale: 30
22+
days-before-pr-stale: 90
23+
days-before-issue-close: 5
24+
days-before-pr-close: 15
25+
remove-pr-stale-when-updated: true
26+
remove-issue-stale-when-updated: true
27+
stale-issue-label: "stale"
28+
stale-pr-label: "stale"
29+
exempt-issue-labels: "roadmap,security"
30+
exempt-pr-labels: "work-in-progress,wip"
31+
operations-per-run: 300

0 commit comments

Comments
 (0)
0