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 : Automate staleness
2+ on :
3+ workflow_dispatch :
4+ schedule :
5+ - cron : ' 0 */6 * * *' # Runs every 6 hours
6+ permissions :
7+ contents : read
8+ jobs :
9+ stale :
10+ permissions :
11+ issues : write
12+ pull-requests : write
13+ runs-on : ubuntu-latest
14+ steps :
15+ - name : Harden Runner
16+ uses : step-security/harden-runner@5c7944e73c4c2a096b17a9cb74d65b6c2bbafbde # v2.9.1
17+ with :
18+ egress-policy : audit
19+
20+ - uses : actions/stale@v9
21+ id : stale
22+ with :
23+ stale-issue-message : >
24+ This issue has been automatically marked as stale because it has not had
25+ recent activity. It will be closed if no further activity occurs. Thank you
26+ for your contributions.
27+ days-before-issue-stale : 60
28+ days-before-issue-close : 7
29+ exempt-issue-labels : do-not-stale
30+ stale-issue-label : stale
31+ stale-pr-message : >
32+ This PR has been automatically marked as stale because it has not had
33+ recent activity from the author. It will be closed if no further activity occurs.
34+ If the PR was closed and you want it re-opened, let us know
35+ and we'll re-open the PR so that you can continue the contribution!
36+ days-before-pr-stale : 14
37+ days-before-pr-close : 7
38+ stale-pr-label : stale
39+ operations-per-run : 100
40+
You can’t perform that action at this time.
0 commit comments