isaacchung commited on
Commit
70688d9
·
unverified ·
1 Parent(s): e45838e

label and close stale PRs (#266)

Browse files
Files changed (1) hide show
  1. .github/workflows/stale_pr.yml +20 -0
.github/workflows/stale_pr.yml ADDED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ name: Label and Close stale PRs
2
+ on:
3
+ schedule:
4
+ - cron: '30 1 * * *' # runs daily at 1:30 AM
5
+ jobs:
6
+ stale:
7
+ runs-on: ubuntu-latest
8
+ permissions:
9
+ actions: write
10
+ issues: write
11
+ pull-requests: write
12
+ steps:
13
+ - uses: actions/stale@v9.1.0
14
+ with:
15
+ stale-pr-label: 'stale'
16
+ stale-issue-label: 'stale'
17
+ days-before-pr-stale: 14
18
+ days-before-pr-close: 7
19
+ stale-pr-message: 'This pull request has been automatically marked as stale due to inactivity.'
20
+ close-pr-message: 'This pull request has been automatically closed due to inactivity.'