Skip to content

Commit 9f6b08d

Browse files
committed
chore: add workflow that closes stale issues and prs
1 parent 4899df8 commit 9f6b08d

1 file changed

Lines changed: 23 additions & 0 deletions

File tree

.github/workflows/stale.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: 'stale issues and prs'
2+
on:
3+
schedule:
4+
- cron: '0 0 * * *'
5+
6+
jobs:
7+
stale:
8+
runs-on: ubuntu-latest
9+
permissions:
10+
issues: write
11+
pull-requests: write
12+
steps:
13+
- uses: actions/stale@v4
14+
with:
15+
stale-issue-message: 'This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.'
16+
stale-pr-message: 'This PR is stale because it has been open 45 days with no activity. Remove stale label or comment or this will be closed in 10 days.'
17+
close-issue-message: 'This issue was closed because it has been stalled for 5 days with no activity.'
18+
close-pr-message: 'This PR was closed because it has been stalled for 10 days with no activity.'
19+
exempt-issue-labels: 'security vulnerability'
20+
days-before-issue-stale: 15
21+
days-before-pr-stale: 30
22+
days-before-issue-close: 5
23+
days-before-pr-close: 5

0 commit comments

Comments
 (0)