Skip to content

Commit 80aff4f

Browse files
committed
Close stale issues and PRs automatically
1 parent edf7f72 commit 80aff4f

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

.github/workflows/stale.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: "Stale issues and PRs"
2+
on:
3+
schedule:
4+
- cron: "30 1 * * *"
5+
6+
jobs:
7+
stale:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- uses: actions/stale@v5
11+
with:
12+
stale-issue-message: "This issue is stale because it has been open 28 days with no activity. Remove stale label or comment or this will be closed in 5 days."
13+
stale-pr-message: "This PR is stale because it has been open 28 days with no activity. Remove stale label or comment or this will be closed in 10 days."
14+
close-issue-message: "This issue was closed because it has been stalled for 7 days with no activity."
15+
close-pr-message: "This PR was closed because it has been stalled for 14 days with no activity."
16+
days-before-issue-stale: 28
17+
days-before-pr-stale: 28
18+
days-before-issue-close: 7
19+
days-before-pr-close: 14
20+
any-of-labels: "information-needed,help-needed,discussion,proposition"

0 commit comments

Comments
 (0)