Skip to content

Commit 96eb984

Browse files
Add stale workflow
1 parent f567721 commit 96eb984

File tree

1 file changed

+42
-0
lines changed

1 file changed

+42
-0
lines changed

.github/workflows/stale.yml

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
---
2+
# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json
3+
name: Close stale issues and PRs
4+
5+
on:
6+
schedule:
7+
- cron: '0 7 * * *'
8+
9+
permissions: { }
10+
11+
concurrency:
12+
group: close-stale-${{ github.ref }}
13+
cancel-in-progress: true
14+
15+
jobs:
16+
stale:
17+
name: Close stale issues and PRs
18+
runs-on: ubuntu-24.04
19+
permissions:
20+
actions: write
21+
issues: write
22+
pull-requests: write
23+
steps:
24+
- uses: actions/stale@v10.1.0
25+
with:
26+
sort-by: updated
27+
ascending: true # Start with ascending to process oldest items first
28+
days-before-stale: 60
29+
days-before-close: 30
30+
exempt-all-milestones: true
31+
stale-issue-message: >-
32+
In an effort to keep our issue list manageable, we are marking this issue as stale because it has been 60 days without activity.
33+
If this issue is still relevant, please let us know by posting a quick comment so that it remains open.
34+
close-issue-message: >-
35+
This issue was closed because it has been stalled for 90 days with no activity.
36+
Feel free to open a new issue if necessary!
37+
stale-pr-message: >-
38+
In an effort to keep our pull request list manageable, we are marking this PR as stale because it has been 60 days without activity.
39+
If this PR is still relevant, please let us know by posting a quick comment or update so that it can be assigned and hopefully merged.
40+
close-pr-message: >-
41+
This PR was closed because it has been stalled for 90 days with no activity.
42+
Feel free to open a new PR if necessary!

0 commit comments

Comments
 (0)