File tree Expand file tree Collapse file tree 1 file changed +25
-0
lines changed
Expand file tree Collapse file tree 1 file changed +25
-0
lines changed Original file line number Diff line number Diff line change 1+ name : " Close stale pull requests"
2+ on :
3+ schedule :
4+ - cron : " 10 4 * * *" # arbitrary time not to DDOS GitHub
5+
6+ permissions :
7+ contents : read
8+
9+ jobs :
10+ stale :
11+ permissions :
12+ pull-requests : write # required for marking and closing stale PRs
13+ runs-on : ubuntu-latest
14+ steps :
15+ - uses : actions/stale@997185467fa4f803885201cee163a9f38240193d # v10.1.1
16+ with :
17+ repo-token : ${{ secrets.GITHUB_TOKEN }}
18+ stale-pr-message : ' This PR was marked stale. It will be closed in 30 days without additional activity.'
19+ close-pr-message : ' Closed as inactive. Feel free to reopen if this PR is still being worked on.'
20+ # opt out of defaults to avoid marking issues as stale
21+ days-before-stale : -1
22+ days-before-close : -1
23+ # overrides the above only for pull requests
24+ days-before-pr-stale : 30
25+ days-before-pr-close : 14
You can’t perform that action at this time.
0 commit comments