1- # https://docs.github.com/en/actions/writing-workflows /workflow-syntax-for-github-actions
1+ # https://docs.github.com/en/actions/reference /workflow-syntax-for-github-actions
22name : Stale issues
33
44on :
55 schedule :
6+ # https://docs.github.com/en/actions/reference/events-that-trigger-workflows
67 - cron : ' 0 15 1,15 * *'
78 workflow_dispatch :
8- # https://docs.github.com/en/actions/writing-workflows/choosing-when-your-workflow-runs /events-that-trigger-workflows#workflow_dispatch
9+ # https://docs.github.com/en/actions/reference /events-that-trigger-workflows#workflow_dispatch
910
1011permissions :
1112 issues : write
@@ -14,41 +15,6 @@ permissions:
1415jobs :
1516 stale :
1617 runs-on : ubuntu-latest
17-
1818 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
19+ - name : Run stale action
20+ uses : sebthom/gha-shared/.github/actions/stale@v1
0 commit comments