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 : Mark stale issues and pull requests
2+
3+ on :
4+ schedule :
5+ - cron : " 0 0 * * *"
6+ workflow_dispatch :
7+
8+ jobs :
9+ Stale :
10+ runs-on : ${{ vars.USE_SELF_HOSTED == 'true' && 'self-hosted' || 'ubuntu-latest' }}
11+
12+ permissions :
13+ # Required to label and close stale issues.
14+ issues : write
15+ # Required to label and close stale pull requests.
16+ pull-requests : write
17+
18+ steps :
19+ - uses : actions/stale@v10
20+ with :
21+ days-before-stale : 60
22+ days-before-close : 21
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
27+ had recent activity. It will be closed in 21 days if no further
28+ activity occurs. Remove the `Stale` label or comment to keep it open.
29+ stale-pr-message : >
30+ This pull request has been automatically marked as stale because it
31+ has not had recent activity. It will be closed in 21 days if no
32+ further activity occurs. Remove the `Stale` label or comment to keep
33+ it open.
34+ close-issue-reason : not_planned
35+ exempt-issue-labels : pinned,security
36+ exempt-pr-labels : pinned,security
37+ operations-per-run : 100
You can’t perform that action at this time.
0 commit comments