Skip to content

Commit e7ab006

Browse files
committed
Add stale workflow
1 parent fb444ea commit e7ab006

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

.github/workflows/stale.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: "Close stale issues"
2+
on:
3+
schedule:
4+
- cron: "23 12 * * *"
5+
6+
jobs:
7+
stale:
8+
runs-on: ubuntu-latest
9+
permissions:
10+
issues: write
11+
pull-requests: write
12+
13+
steps:
14+
- uses: actions/stale@v5
15+
with:
16+
repo-token: ${{ secrets.GITHUB_TOKEN }}
17+
stale-issue-message: "This issue is stale because it has been open 21 days with no activity. Remove stale label or comment or this will be closed in 7 days."
18+
stale-issue-label: "stale"
19+
stale-pr-message: "This PR is stale because it has been open for 21 days with no activity. Remove stale label or comment or this will be closed in 7 days."
20+
stale-pr-label: "stale"
21+
exempt-issue-labels: "enhancement,help wanted"
22+
days-before-stale: 21
23+
days-before-close: 7

0 commit comments

Comments
 (0)