File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -4,22 +4,22 @@ name: Label and close stale pull requests
44
55on :
66 schedule :
7- - cron : ' 31 19 * * *'
7+ - cron : " 31 19 * * *"
88 workflow_dispatch :
99
1010jobs :
1111 stale :
12-
1312 runs-on : ubuntu-latest
1413 permissions :
1514 pull-requests : write
15+ issues : read
1616
1717 steps :
18- - uses : actions/stale@v5
19- with :
20- repo-token : ${{ secrets.GITHUB_TOKEN }}
21- stale-pr-message : ' Marking this PR as stale due to inactivity; it will be closed in 7 days.'
22- stale-pr-label : ' stale'
23- days-before-stale : 30
24- days-before-close : 7
25- close-pr-message : " Closing PR due to inactivity. Feel free to open a new PR if necessary."
18+ - uses : actions/stale@v5
19+ with :
20+ repo-token : ${{ secrets.GITHUB_TOKEN }}
21+ stale-pr-message : " Marking this PR as stale due to inactivity; it will be closed in 7 days."
22+ stale-pr-label : " stale"
23+ days-before-stale : 30
24+ days-before-close : 7
25+ close-pr-message : " Closing PR due to inactivity. Feel free to open a new PR if necessary."
You can’t perform that action at this time.
0 commit comments