File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Close Stale Issues and PRs
2+
3+ on :
4+ schedule :
5+ - cron : ' 0 0 * * *'
6+ workflow_dispatch :
7+
8+ permissions :
9+ issues : write
10+ pull-requests : write
11+
12+ jobs :
13+ stale :
14+ runs-on : ubuntu-latest
15+ steps :
16+ - uses : actions/stale@v9
17+ with :
18+ repo-token : ${{ secrets.GITHUB_TOKEN }}
19+ days-before-stale : 30
20+ days-before-close : 7
21+ exempt-issue-labels : pinned,security
22+ exempt-pr-labels : pinned,security
23+ stale-issue-label : stale
24+ stale-pr-label : stale
25+ stale-issue-message : >-
26+ This issue has been automatically marked as stale because it has not had recent activity.
27+ It will be closed if no further activity occurs.
28+ stale-pr-message : >-
29+ This pull request has been automatically marked as stale because it has not had recent activity.
30+ It will be closed if no further activity occurs.
31+ close-issue-message : >-
32+ Closing this issue due to prolonged inactivity.
33+ close-pr-message : >-
34+ Closing this pull request due to prolonged inactivity.
You can’t perform that action at this time.
0 commit comments