1+ # This file was automatically generated by pkg/workflow/maintenance_workflow.go (v0.80.9). DO NOT EDIT. To debug this workflow, load the skill at https://github.com/github/gh-aw/blob/main/debug.md
2+ #
13# ___ _ _
24# / _ \ | | (_)
35# | |_| | __ _ ___ _ __ | |_ _ ___
1214# \ /\ / (_) | | | | ( | | | | (_) \ V V /\__ \
1315# \/ \/ \___/|_| |_|\_\|_| |_|\___/ \_/\_/ |___/
1416#
15- # This file was automatically generated by pkg/workflow/maintenance_workflow.go (v0.79.6). DO NOT EDIT.
1617#
1718# To regenerate this workflow, run:
1819# gh aw compile
1920# Not all edits will cause changes to this file.
2021#
2122# For more information: https://github.github.com/gh-aw/introduction/overview/
2223#
23- # Alternative regeneration methods:
24- # make recompile
24+ # This file defines the generated agentic maintenance workflow for this repository.
25+ # It runs scheduled cleanup for expiring safe outputs and supports manual maintenance operations.
26+ #
27+ # This workflow is generated automatically when workflows use expiring safe outputs
28+ # or when repository maintenance features are enabled in .github/workflows/aw.json.
2529#
26- # Or use the gh-aw CLI directly :
27- # ./gh-aw compile --validate --verbose
30+ # To disable maintenance workflow generation, set in .github/workflows/aw.json :
31+ # {"maintenance": false}
2832#
29- # The workflow is generated when any workflow uses the 'expires' field
30- # in create-discussions, create-issues, or create-pull-request safe-outputs configuration.
31- # Schedule frequency is automatically determined by the shortest expiration time.
33+ # Agentic maintenance docs:
34+ # https://github.github.com/gh-aw/reference/ephemerals/#manual-maintenance-operations
3235#
3336name : Agentic Maintenance
3437
9396 pull-requests : write
9497 steps :
9598 - name : Setup Scripts
96- uses : github/gh-aw-actions/setup@5c2fe865bb4dc46e1450f6ee0d0541d759aea73a # v0.79.6
99+ uses : github/gh-aw-actions/setup@8c7d04ebf1ece56cd381446125da3e0f6896294a # v0.80.9
97100 with :
98101 destination : ${{ runner.temp }}/gh-aw/actions
99102
@@ -131,7 +134,7 @@ jobs:
131134 actions : write
132135 steps :
133136 - name : Setup Scripts
134- uses : github/gh-aw-actions/setup@5c2fe865bb4dc46e1450f6ee0d0541d759aea73a # v0.79.6
137+ uses : github/gh-aw-actions/setup@8c7d04ebf1ece56cd381446125da3e0f6896294a # v0.80.9
135138 with :
136139 destination : ${{ runner.temp }}/gh-aw/actions
137140
@@ -155,12 +158,12 @@ jobs:
155158 operation : ${{ steps.record.outputs.operation }}
156159 steps :
157160 - name : Checkout repository
158- uses : actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6 .0.3
161+ uses : actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7 .0.0
159162 with :
160163 persist-credentials : false
161164
162165 - name : Setup Scripts
163- uses : github/gh-aw-actions/setup@5c2fe865bb4dc46e1450f6ee0d0541d759aea73a # v0.79.6
166+ uses : github/gh-aw-actions/setup@8c7d04ebf1ece56cd381446125da3e0f6896294a # v0.80.9
164167 with :
165168 destination : ${{ runner.temp }}/gh-aw/actions
166169
@@ -175,9 +178,9 @@ jobs:
175178 await main();
176179
177180 - name : Install gh-aw
178- uses : github/gh-aw-actions/setup-cli@5c2fe865bb4dc46e1450f6ee0d0541d759aea73a # v0.79.6
181+ uses : github/gh-aw-actions/setup-cli@8c7d04ebf1ece56cd381446125da3e0f6896294a # v0.80.9
179182 with :
180- version : v0.79.6
183+ version : v0.80.9
181184
182185 - name : Run operation
183186 uses : actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0
@@ -195,7 +198,9 @@ jobs:
195198
196199 - name : Record outputs
197200 id : record
198- run : echo "operation=${{ inputs.operation }}" >> "$GITHUB_OUTPUT"
201+ env :
202+ GH_AW_OPERATION : ${{ inputs.operation }}
203+ run : echo "operation=$GH_AW_OPERATION" >> "$GITHUB_OUTPUT"
199204
200205 update_pull_request_branches :
201206 if : ${{ (github.event_name == 'workflow_dispatch' || github.event_name == 'workflow_call') && inputs.operation == 'update_pull_request_branches' && (!(github.event.repository.fork)) }}
@@ -205,7 +210,7 @@ jobs:
205210 pull-requests : write
206211 steps :
207212 - name : Setup Scripts
208- uses : github/gh-aw-actions/setup@5c2fe865bb4dc46e1450f6ee0d0541d759aea73a # v0.79.6
213+ uses : github/gh-aw-actions/setup@8c7d04ebf1ece56cd381446125da3e0f6896294a # v0.80.9
209214 with :
210215 destination : ${{ runner.temp }}/gh-aw/actions
211216
@@ -244,14 +249,14 @@ jobs:
244249 run_url : ${{ steps.record.outputs.run_url }}
245250 steps :
246251 - name : Checkout actions folder
247- uses : actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6 .0.3
252+ uses : actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7 .0.0
248253 with :
249254 sparse-checkout : |
250255 actions
251256 persist-credentials : false
252257
253258 - name : Setup Scripts
254- uses : github/gh-aw-actions/setup@5c2fe865bb4dc46e1450f6ee0d0541d759aea73a # v0.79.6
259+ uses : github/gh-aw-actions/setup@8c7d04ebf1ece56cd381446125da3e0f6896294a # v0.80.9
255260 with :
256261 destination : ${{ runner.temp }}/gh-aw/actions
257262
@@ -280,7 +285,9 @@ jobs:
280285
281286 - name : Record outputs
282287 id : record
283- run : echo "run_url=${{ inputs.run_url }}" >> "$GITHUB_OUTPUT"
288+ env :
289+ GH_AW_RUN_URL : ${{ inputs.run_url }}
290+ run : echo "run_url=$GH_AW_RUN_URL" >> "$GITHUB_OUTPUT"
284291
285292 create_labels :
286293 if : ${{ (github.event_name == 'workflow_dispatch' || github.event_name == 'workflow_call') && inputs.operation == 'create_labels' && (!(github.event.repository.fork)) }}
@@ -290,12 +297,12 @@ jobs:
290297 issues : write
291298 steps :
292299 - name : Checkout repository
293- uses : actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6 .0.3
300+ uses : actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7 .0.0
294301 with :
295302 persist-credentials : false
296303
297304 - name : Setup Scripts
298- uses : github/gh-aw-actions/setup@5c2fe865bb4dc46e1450f6ee0d0541d759aea73a # v0.79.6
305+ uses : github/gh-aw-actions/setup@8c7d04ebf1ece56cd381446125da3e0f6896294a # v0.80.9
299306 with :
300307 destination : ${{ runner.temp }}/gh-aw/actions
301308
@@ -310,9 +317,9 @@ jobs:
310317 await main();
311318
312319 - name : Install gh-aw
313- uses : github/gh-aw-actions/setup-cli@5c2fe865bb4dc46e1450f6ee0d0541d759aea73a # v0.79.6
320+ uses : github/gh-aw-actions/setup-cli@8c7d04ebf1ece56cd381446125da3e0f6896294a # v0.80.9
314321 with :
315- version : v0.79.6
322+ version : v0.80.9
316323
317324 - name : Create missing labels
318325 uses : actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0
@@ -336,12 +343,12 @@ jobs:
336343 issues : write
337344 steps :
338345 - name : Checkout repository
339- uses : actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6 .0.3
346+ uses : actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7 .0.0
340347 with :
341348 persist-credentials : false
342349
343350 - name : Setup Scripts
344- uses : github/gh-aw-actions/setup@5c2fe865bb4dc46e1450f6ee0d0541d759aea73a # v0.79.6
351+ uses : github/gh-aw-actions/setup@8c7d04ebf1ece56cd381446125da3e0f6896294a # v0.80.9
345352 with :
346353 destination : ${{ runner.temp }}/gh-aw/actions
347354
@@ -356,9 +363,9 @@ jobs:
356363 await main();
357364
358365 - name : Install gh-aw
359- uses : github/gh-aw-actions/setup-cli@5c2fe865bb4dc46e1450f6ee0d0541d759aea73a # v0.79.6
366+ uses : github/gh-aw-actions/setup-cli@8c7d04ebf1ece56cd381446125da3e0f6896294a # v0.80.9
360367 with :
361- version : v0.79.6
368+ version : v0.80.9
362369
363370 - name : Restore activity report logs cache
364371 id : activity_report_logs_cache
@@ -379,10 +386,10 @@ jobs:
379386 ${GH_AW_CMD_PREFIX} logs \
380387 --repo "${{ github.repository }}" \
381388 --start-date -1w \
382- --count 100 \
389+ --count 500 \
383390 --output ./.cache/gh-aw/activity-report-logs \
384391 --format markdown \
385- > ./.cache/gh-aw/activity-report-logs/report.md
392+ --report-file ./.cache/gh-aw/activity-report-logs/report.md
386393
387394 - name : Save activity report logs cache
388395 if : ${{ always() }}
@@ -441,12 +448,12 @@ jobs:
441448 issues : write
442449 steps :
443450 - name : Checkout repository
444- uses : actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6 .0.3
451+ uses : actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7 .0.0
445452 with :
446453 persist-credentials : false
447454
448455 - name : Setup Scripts
449- uses : github/gh-aw-actions/setup@5c2fe865bb4dc46e1450f6ee0d0541d759aea73a # v0.79.6
456+ uses : github/gh-aw-actions/setup@8c7d04ebf1ece56cd381446125da3e0f6896294a # v0.80.9
450457 with :
451458 destination : ${{ runner.temp }}/gh-aw/actions
452459
@@ -461,9 +468,9 @@ jobs:
461468 await main();
462469
463470 - name : Install gh-aw
464- uses : github/gh-aw-actions/setup-cli@5c2fe865bb4dc46e1450f6ee0d0541d759aea73a # v0.79.6
471+ uses : github/gh-aw-actions/setup-cli@8c7d04ebf1ece56cd381446125da3e0f6896294a # v0.80.9
465472 with :
466- version : v0.79.6
473+ version : v0.80.9
467474
468475 - name : Restore forecast report logs cache
469476 id : forecast_report_logs_cache
@@ -538,7 +545,7 @@ jobs:
538545 issues : write
539546 steps :
540547 - name : Setup Scripts
541- uses : github/gh-aw-actions/setup@5c2fe865bb4dc46e1450f6ee0d0541d759aea73a # v0.79.6
548+ uses : github/gh-aw-actions/setup@8c7d04ebf1ece56cd381446125da3e0f6896294a # v0.80.9
542549 with :
543550 destination : ${{ runner.temp }}/gh-aw/actions
544551
@@ -570,12 +577,12 @@ jobs:
570577 issues : write
571578 steps :
572579 - name : Checkout repository
573- uses : actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6 .0.3
580+ uses : actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7 .0.0
574581 with :
575582 persist-credentials : false
576583
577584 - name : Setup Scripts
578- uses : github/gh-aw-actions/setup@5c2fe865bb4dc46e1450f6ee0d0541d759aea73a # v0.79.6
585+ uses : github/gh-aw-actions/setup@8c7d04ebf1ece56cd381446125da3e0f6896294a # v0.80.9
579586 with :
580587 destination : ${{ runner.temp }}/gh-aw/actions
581588
@@ -590,9 +597,9 @@ jobs:
590597 await main();
591598
592599 - name : Install gh-aw
593- uses : github/gh-aw-actions/setup-cli@5c2fe865bb4dc46e1450f6ee0d0541d759aea73a # v0.79.6
600+ uses : github/gh-aw-actions/setup-cli@8c7d04ebf1ece56cd381446125da3e0f6896294a # v0.80.9
594601 with :
595- version : v0.79.6
602+ version : v0.80.9
596603
597604 - name : Validate workflows and file issue on findings
598605 uses : actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0
0 commit comments