File tree Expand file tree Collapse file tree 1 file changed +28
-0
lines changed
Expand file tree Collapse file tree 1 file changed +28
-0
lines changed Original file line number Diff line number Diff line change 1+ # This workflow warns and then closes issues and PRs that have had no activity for a specified amount of time.
2+ #
3+ # You can adjust the behavior by modifying this file.
4+ # For more information, see:
5+ # https://github.com/actions/stale
6+ name : Mark stale issues and pull requests and close them
7+
8+ on :
9+ schedule :
10+ - cron : ' 31 21 * * *'
11+
12+ jobs :
13+ close-issues :
14+ runs-on : ubuntu-latest
15+ permissions :
16+ issues : write
17+ pull-requests : write
18+ steps :
19+ - uses : actions/stale@v9
20+ with :
21+ days-before-issue-stale : 182
22+ days-before-issue-close : 60
23+ stale-issue-label : " stale"
24+ stale-issue-message : " This issue is stale because it has been open for 182 days with no activity."
25+ close-issue-message : " This issue was closed because it has been inactive for 60 days since being marked as stale."
26+ days-before-pr-stale : -1
27+ days-before-pr-close : -1
28+ repo-token : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments