1- # https://docs.github.com/en/actions/using -workflows/workflow-syntax-for-github-actions
1+ # https://docs.github.com/en/actions/writing -workflows/workflow-syntax-for-github-actions
22name : Stale issues
33
44on :
55 schedule :
66 - cron : ' 0 15 1,15 * *'
77 workflow_dispatch :
8- # https://github.blog/changelog/2020-07-06-github-actions-manual-triggers-with-workflow_dispatch/
8+ # https://docs. github.com/en/actions/writing-workflows/choosing-when-your-workflow-runs/events-that-trigger-workflows
99
1010permissions :
1111 issues : write
@@ -14,41 +14,6 @@ permissions:
1414jobs :
1515 stale :
1616 runs-on : ubuntu-latest
17-
1817 steps :
19- - name : Git checkout
20- uses : actions/checkout@v4 # https://github.com/actions/checkout
21-
22- - name : Run stale action
23- uses : actions/stale@v9 # https://github.com/actions/stale
24- with :
25- days-before-stale : 90
26- days-before-close : 14
27- stale-issue-message : >
28- This issue has been automatically marked as stale because it has not had
29- recent activity. It will be closed in 14 days if no further activity occurs.
30- If the issue is still valid, please add a respective comment to prevent this
31- issue from being closed automatically. Thank you for your contributions.
32- stale-issue-label : stale
33- close-issue-label : wontfix
34- exempt-issue-labels : |
35- enhancement
36- pinned
37- security
38-
39- - name : Run stale action (for enhancements)
40- uses : actions/stale@v9 # https://github.com/actions/stale
41- with :
42- days-before-stale : 360
43- days-before-close : 14
44- stale-issue-message : >
45- This issue has been automatically marked as stale because it has not had
46- recent activity. It will be closed in 14 days if no further activity occurs.
47- If the issue is still valid, please add a respective comment to prevent this
48- issue from being closed automatically. Thank you for your contributions.
49- stale-issue-label : stale
50- close-issue-label : wontfix
51- only-labels : enhancement
52- exempt-issue-labels : |
53- pinned
54- security
18+ - name : Run stale action
19+ uses : sebthom/gha-shared/.github/actions/stale@v1
0 commit comments