Skip to content

Commit ee48ad2

Browse files
Mark stale PRs automatically
Mark as stale at 60 days and close them two weeks after marking them as stale if there is still no activity.
1 parent ec24f6e commit ee48ad2

1 file changed

Lines changed: 16 additions & 0 deletions

File tree

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
name: Mark stale PRs
2+
on:
3+
schedule:
4+
- cron: '0 1 * * 3' # Every Wednesday at 1am UTC
5+
6+
jobs:
7+
stale:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- uses: actions/stale@v9
11+
with:
12+
stale-pr-message: 'Things seem to have gone quiet on this PR. There has been no activity for 60 days, so it will be closed in 14 days if there is still no movement.'
13+
close-pr-message: 'Closing due to inactivity.'
14+
days-before-pr-stale: 60
15+
days-before-pr-close: 14
16+
stale-pr-label: 'stale'

0 commit comments

Comments
 (0)