Skip to content

Commit 7f5832c

Browse files
committed
Close stale PRs with GitHub actions
1 parent b27d2ff commit 7f5832c

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

.github/workflows/close-stale-prs.yml

+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: Close stale PRs
2+
3+
on:
4+
schedule:
5+
- cron: "0 0 * * *"
6+
7+
jobs:
8+
stale:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: actions/stale@v4
12+
with:
13+
days-before-close: 7
14+
days-before-stale: 60
15+
# Temporary, avoid closing PRs until this action merged
16+
debug-only: true
17+
# Hack to skip issues, unfortunately there's no option to disable issues
18+
only-issue-labels: inexistent-label
19+
only-pr-labels: Waiting on Author
20+
stale-pr-message: There has not been any recent activity in this PR. It will automatically be closed in 7 days if no further action is taken.

0 commit comments

Comments
 (0)