1212# \ /\ / (_) | | | | ( | | | | (_) \ V V /\__ \
1313# \/ \/ \___/|_| |_|\_\|_| |_|\___/ \_/\_/ |___/
1414#
15- # This file was automatically generated by pkg/workflow/side_repo_maintenance.go (v0.72.0 ). DO NOT EDIT.
15+ # This file was automatically generated by pkg/workflow/side_repo_maintenance.go (v0.79.6 ). DO NOT EDIT.
1616#
1717# To regenerate this workflow, run:
1818# gh aw compile
7070 applied_run_url :
7171 description : ' The run URL that safe outputs were applied from'
7272 value : ${{ jobs.apply_safe_outputs.outputs.run_url }}
73+ schedule :
74+ - cron : " 43 15 * * *" # Daily (based on minimum expires: 30 days)
7375
7476permissions : {}
7577
7678jobs :
79+ close-expired-entities :
80+ if : ${{ (!(github.event.repository.fork)) && (github.event_name != 'workflow_dispatch' && github.event_name != 'workflow_call' || inputs.operation == '') }}
81+ runs-on : ubuntu-slim
82+ permissions :
83+ discussions : write
84+ issues : write
85+ pull-requests : write
86+ # Runs on schedule: 43 15 * * * (Daily)
87+ steps :
88+ - name : Setup Scripts
89+ uses : github/gh-aw-actions/setup@5c2fe865bb4dc46e1450f6ee0d0541d759aea73a # v0.79.6
90+ with :
91+ destination : ${{ runner.temp }}/gh-aw/actions
92+
93+ - name : Close expired discussions
94+ uses : actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0
95+ env :
96+ GH_AW_TARGET_REPO_SLUG : " microsoft/aspire.dev"
97+ with :
98+ github-token : ${{ secrets.GH_AW_GITHUB_TOKEN }}
99+ script : |
100+ const { setupGlobals } = require('${{ runner.temp }}/gh-aw/actions/setup_globals.cjs');
101+ setupGlobals(core, github, context, exec, io, getOctokit);
102+ const { main } = require('${{ runner.temp }}/gh-aw/actions/close_expired_discussions.cjs');
103+ await main();
104+
105+ - name : Close expired issues
106+ uses : actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0
107+ env :
108+ GH_AW_TARGET_REPO_SLUG : " microsoft/aspire.dev"
109+ with :
110+ github-token : ${{ secrets.GH_AW_GITHUB_TOKEN }}
111+ script : |
112+ const { setupGlobals } = require('${{ runner.temp }}/gh-aw/actions/setup_globals.cjs');
113+ setupGlobals(core, github, context, exec, io, getOctokit);
114+ const { main } = require('${{ runner.temp }}/gh-aw/actions/close_expired_issues.cjs');
115+ await main();
116+
117+ - name : Close expired pull requests
118+ uses : actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0
119+ env :
120+ GH_AW_TARGET_REPO_SLUG : " microsoft/aspire.dev"
121+ with :
122+ github-token : ${{ secrets.GH_AW_GITHUB_TOKEN }}
123+ script : |
124+ const { setupGlobals } = require('${{ runner.temp }}/gh-aw/actions/setup_globals.cjs');
125+ setupGlobals(core, github, context, exec, io, getOctokit);
126+ const { main } = require('${{ runner.temp }}/gh-aw/actions/close_expired_pull_requests.cjs');
127+ await main();
77128
78129 apply_safe_outputs :
79130 if : ${{ (github.event_name == 'workflow_dispatch' || github.event_name == 'workflow_call') && inputs.operation == 'safe_outputs' && (!(github.event.repository.fork)) }}
88139 run_url : ${{ steps.record.outputs.run_url }}
89140 steps :
90141 - name : Setup Scripts
91- uses : github/gh-aw-actions/setup@ff0525b685481744f490a0d362753d8001e4b39d # v0.72.0
142+ uses : github/gh-aw-actions/setup@5c2fe865bb4dc46e1450f6ee0d0541d759aea73a # v0.79.6
92143 with :
93144 destination : ${{ runner.temp }}/gh-aw/actions
94145
@@ -128,12 +179,12 @@ jobs:
128179 issues : write
129180 steps :
130181 - name : Checkout repository
131- uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
182+ uses : actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
132183 with :
133184 persist-credentials : false
134185
135186 - name : Setup Scripts
136- uses : github/gh-aw-actions/setup@ff0525b685481744f490a0d362753d8001e4b39d # v0.72.0
187+ uses : github/gh-aw-actions/setup@5c2fe865bb4dc46e1450f6ee0d0541d759aea73a # v0.79.6
137188 with :
138189 destination : ${{ runner.temp }}/gh-aw/actions
139190
@@ -148,9 +199,9 @@ jobs:
148199 await main();
149200
150201 - name : Install gh-aw
151- uses : github/gh-aw-actions/setup-cli@ff0525b685481744f490a0d362753d8001e4b39d # v0.72.0
202+ uses : github/gh-aw-actions/setup-cli@5c2fe865bb4dc46e1450f6ee0d0541d759aea73a # v0.79.6
152203 with :
153- version : v0.72.0
204+ version : v0.79.6
154205
155206 - name : Create missing labels in target repository
156207 uses : actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0
@@ -175,12 +226,12 @@ jobs:
175226 issues : write
176227 steps :
177228 - name : Checkout repository
178- uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
229+ uses : actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
179230 with :
180231 persist-credentials : false
181232
182233 - name : Setup Scripts
183- uses : github/gh-aw-actions/setup@ff0525b685481744f490a0d362753d8001e4b39d # v0.72.0
234+ uses : github/gh-aw-actions/setup@5c2fe865bb4dc46e1450f6ee0d0541d759aea73a # v0.79.6
184235 with :
185236 destination : ${{ runner.temp }}/gh-aw/actions
186237
@@ -195,9 +246,9 @@ jobs:
195246 await main();
196247
197248 - name : Install gh-aw
198- uses : github/gh-aw-actions/setup-cli@ff0525b685481744f490a0d362753d8001e4b39d # v0.72.0
249+ uses : github/gh-aw-actions/setup-cli@5c2fe865bb4dc46e1450f6ee0d0541d759aea73a # v0.79.6
199250 with :
200- version : v0.72.0
251+ version : v0.79.6
201252
202253 - name : Restore activity report logs cache
203254 id : activity_report_logs_cache
@@ -284,12 +335,12 @@ jobs:
284335 issues : write
285336 steps :
286337 - name : Checkout repository
287- uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
338+ uses : actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
288339 with :
289340 persist-credentials : false
290341
291342 - name : Setup Scripts
292- uses : github/gh-aw-actions/setup@ff0525b685481744f490a0d362753d8001e4b39d # v0.72.0
343+ uses : github/gh-aw-actions/setup@5c2fe865bb4dc46e1450f6ee0d0541d759aea73a # v0.79.6
293344 with :
294345 destination : ${{ runner.temp }}/gh-aw/actions
295346
@@ -304,9 +355,9 @@ jobs:
304355 await main();
305356
306357 - name : Install gh-aw
307- uses : github/gh-aw-actions/setup-cli@ff0525b685481744f490a0d362753d8001e4b39d # v0.72.0
358+ uses : github/gh-aw-actions/setup-cli@5c2fe865bb4dc46e1450f6ee0d0541d759aea73a # v0.79.6
308359 with :
309- version : v0.72.0
360+ version : v0.79.6
310361
311362 - name : Validate workflows and file issue on findings
312363 uses : actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0
0 commit comments