1- # This file was automatically generated by pkg/workflow/maintenance_workflow.go (v0.79.8 ). DO NOT EDIT. To debug this workflow, load the skill at https://github.com/github/gh-aw/blob/main/debug.md
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
22#
33# ___ _ _
44# / _ \ | | (_)
2121#
2222# For more information: https://github.github.com/gh-aw/introduction/overview/
2323#
24- # Alternative regeneration methods:
25- # 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.
2626#
27- # Or use the gh-aw CLI directly:
28- # ./gh-aw compile --validate --verbose
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.
2929#
30- # The workflow is generated when any workflow uses the 'expires' field
31- # in create-discussions, create-issues, or create-pull-request safe-outputs configuration.
32- # Schedule frequency is automatically determined by the shortest expiration time.
30+ # To disable maintenance workflow generation, set in .github/workflows/aw.json:
31+ # {"maintenance": false}
32+ #
33+ # Agentic maintenance docs:
34+ # https://github.github.com/gh-aw/reference/ephemerals/#manual-maintenance-operations
3335#
3436name : Agentic Maintenance
3537
9496 pull-requests : write
9597 steps :
9698 - name : Setup Scripts
97- uses : github/gh-aw-actions/setup@c0338fef4749d08c21f8f975fb0e37efa17dda47 # v0.79.8
99+ uses : github/gh-aw-actions/setup@8c7d04ebf1ece56cd381446125da3e0f6896294a # v0.80.9
98100 with :
99101 destination : ${{ runner.temp }}/gh-aw/actions
100102
@@ -132,7 +134,7 @@ jobs:
132134 actions : write
133135 steps :
134136 - name : Setup Scripts
135- uses : github/gh-aw-actions/setup@c0338fef4749d08c21f8f975fb0e37efa17dda47 # v0.79.8
137+ uses : github/gh-aw-actions/setup@8c7d04ebf1ece56cd381446125da3e0f6896294a # v0.80.9
136138 with :
137139 destination : ${{ runner.temp }}/gh-aw/actions
138140
@@ -156,12 +158,12 @@ jobs:
156158 operation : ${{ steps.record.outputs.operation }}
157159 steps :
158160 - name : Checkout repository
159- uses : actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6 .0.3
161+ uses : actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7 .0.0
160162 with :
161163 persist-credentials : false
162164
163165 - name : Setup Scripts
164- uses : github/gh-aw-actions/setup@c0338fef4749d08c21f8f975fb0e37efa17dda47 # v0.79.8
166+ uses : github/gh-aw-actions/setup@8c7d04ebf1ece56cd381446125da3e0f6896294a # v0.80.9
165167 with :
166168 destination : ${{ runner.temp }}/gh-aw/actions
167169
@@ -176,9 +178,9 @@ jobs:
176178 await main();
177179
178180 - name : Install gh-aw
179- uses : github/gh-aw-actions/setup-cli@c0338fef4749d08c21f8f975fb0e37efa17dda47 # v0.79.8
181+ uses : github/gh-aw-actions/setup-cli@8c7d04ebf1ece56cd381446125da3e0f6896294a # v0.80.9
180182 with :
181- version : v0.79.8
183+ version : v0.80.9
182184
183185 - name : Run operation
184186 uses : actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0
@@ -196,7 +198,9 @@ jobs:
196198
197199 - name : Record outputs
198200 id : record
199- run : echo "operation=${{ inputs.operation }}" >> "$GITHUB_OUTPUT"
201+ env :
202+ GH_AW_OPERATION : ${{ inputs.operation }}
203+ run : echo "operation=$GH_AW_OPERATION" >> "$GITHUB_OUTPUT"
200204
201205 update_pull_request_branches :
202206 if : ${{ (github.event_name == 'workflow_dispatch' || github.event_name == 'workflow_call') && inputs.operation == 'update_pull_request_branches' && (!(github.event.repository.fork)) }}
@@ -206,7 +210,7 @@ jobs:
206210 pull-requests : write
207211 steps :
208212 - name : Setup Scripts
209- uses : github/gh-aw-actions/setup@c0338fef4749d08c21f8f975fb0e37efa17dda47 # v0.79.8
213+ uses : github/gh-aw-actions/setup@8c7d04ebf1ece56cd381446125da3e0f6896294a # v0.80.9
210214 with :
211215 destination : ${{ runner.temp }}/gh-aw/actions
212216
@@ -245,14 +249,14 @@ jobs:
245249 run_url : ${{ steps.record.outputs.run_url }}
246250 steps :
247251 - name : Checkout actions folder
248- uses : actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6 .0.3
252+ uses : actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7 .0.0
249253 with :
250254 sparse-checkout : |
251255 actions
252256 persist-credentials : false
253257
254258 - name : Setup Scripts
255- uses : github/gh-aw-actions/setup@c0338fef4749d08c21f8f975fb0e37efa17dda47 # v0.79.8
259+ uses : github/gh-aw-actions/setup@8c7d04ebf1ece56cd381446125da3e0f6896294a # v0.80.9
256260 with :
257261 destination : ${{ runner.temp }}/gh-aw/actions
258262
@@ -281,7 +285,9 @@ jobs:
281285
282286 - name : Record outputs
283287 id : record
284- 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"
285291
286292 create_labels :
287293 if : ${{ (github.event_name == 'workflow_dispatch' || github.event_name == 'workflow_call') && inputs.operation == 'create_labels' && (!(github.event.repository.fork)) }}
@@ -291,12 +297,12 @@ jobs:
291297 issues : write
292298 steps :
293299 - name : Checkout repository
294- uses : actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6 .0.3
300+ uses : actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7 .0.0
295301 with :
296302 persist-credentials : false
297303
298304 - name : Setup Scripts
299- uses : github/gh-aw-actions/setup@c0338fef4749d08c21f8f975fb0e37efa17dda47 # v0.79.8
305+ uses : github/gh-aw-actions/setup@8c7d04ebf1ece56cd381446125da3e0f6896294a # v0.80.9
300306 with :
301307 destination : ${{ runner.temp }}/gh-aw/actions
302308
@@ -311,9 +317,9 @@ jobs:
311317 await main();
312318
313319 - name : Install gh-aw
314- uses : github/gh-aw-actions/setup-cli@c0338fef4749d08c21f8f975fb0e37efa17dda47 # v0.79.8
320+ uses : github/gh-aw-actions/setup-cli@8c7d04ebf1ece56cd381446125da3e0f6896294a # v0.80.9
315321 with :
316- version : v0.79.8
322+ version : v0.80.9
317323
318324 - name : Create missing labels
319325 uses : actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0
@@ -337,12 +343,12 @@ jobs:
337343 issues : write
338344 steps :
339345 - name : Checkout repository
340- uses : actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6 .0.3
346+ uses : actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7 .0.0
341347 with :
342348 persist-credentials : false
343349
344350 - name : Setup Scripts
345- uses : github/gh-aw-actions/setup@c0338fef4749d08c21f8f975fb0e37efa17dda47 # v0.79.8
351+ uses : github/gh-aw-actions/setup@8c7d04ebf1ece56cd381446125da3e0f6896294a # v0.80.9
346352 with :
347353 destination : ${{ runner.temp }}/gh-aw/actions
348354
@@ -357,9 +363,9 @@ jobs:
357363 await main();
358364
359365 - name : Install gh-aw
360- uses : github/gh-aw-actions/setup-cli@c0338fef4749d08c21f8f975fb0e37efa17dda47 # v0.79.8
366+ uses : github/gh-aw-actions/setup-cli@8c7d04ebf1ece56cd381446125da3e0f6896294a # v0.80.9
361367 with :
362- version : v0.79.8
368+ version : v0.80.9
363369
364370 - name : Restore activity report logs cache
365371 id : activity_report_logs_cache
@@ -380,10 +386,10 @@ jobs:
380386 ${GH_AW_CMD_PREFIX} logs \
381387 --repo "${{ github.repository }}" \
382388 --start-date -1w \
383- --count 100 \
389+ --count 500 \
384390 --output ./.cache/gh-aw/activity-report-logs \
385391 --format markdown \
386- > ./.cache/gh-aw/activity-report-logs/report.md
392+ --report-file ./.cache/gh-aw/activity-report-logs/report.md
387393
388394 - name : Save activity report logs cache
389395 if : ${{ always() }}
@@ -442,12 +448,12 @@ jobs:
442448 issues : write
443449 steps :
444450 - name : Checkout repository
445- uses : actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6 .0.3
451+ uses : actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7 .0.0
446452 with :
447453 persist-credentials : false
448454
449455 - name : Setup Scripts
450- uses : github/gh-aw-actions/setup@c0338fef4749d08c21f8f975fb0e37efa17dda47 # v0.79.8
456+ uses : github/gh-aw-actions/setup@8c7d04ebf1ece56cd381446125da3e0f6896294a # v0.80.9
451457 with :
452458 destination : ${{ runner.temp }}/gh-aw/actions
453459
@@ -462,9 +468,9 @@ jobs:
462468 await main();
463469
464470 - name : Install gh-aw
465- uses : github/gh-aw-actions/setup-cli@c0338fef4749d08c21f8f975fb0e37efa17dda47 # v0.79.8
471+ uses : github/gh-aw-actions/setup-cli@8c7d04ebf1ece56cd381446125da3e0f6896294a # v0.80.9
466472 with :
467- version : v0.79.8
473+ version : v0.80.9
468474
469475 - name : Restore forecast report logs cache
470476 id : forecast_report_logs_cache
@@ -539,7 +545,7 @@ jobs:
539545 issues : write
540546 steps :
541547 - name : Setup Scripts
542- uses : github/gh-aw-actions/setup@c0338fef4749d08c21f8f975fb0e37efa17dda47 # v0.79.8
548+ uses : github/gh-aw-actions/setup@8c7d04ebf1ece56cd381446125da3e0f6896294a # v0.80.9
543549 with :
544550 destination : ${{ runner.temp }}/gh-aw/actions
545551
@@ -571,12 +577,12 @@ jobs:
571577 issues : write
572578 steps :
573579 - name : Checkout repository
574- uses : actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6 .0.3
580+ uses : actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7 .0.0
575581 with :
576582 persist-credentials : false
577583
578584 - name : Setup Scripts
579- uses : github/gh-aw-actions/setup@c0338fef4749d08c21f8f975fb0e37efa17dda47 # v0.79.8
585+ uses : github/gh-aw-actions/setup@8c7d04ebf1ece56cd381446125da3e0f6896294a # v0.80.9
580586 with :
581587 destination : ${{ runner.temp }}/gh-aw/actions
582588
@@ -591,9 +597,9 @@ jobs:
591597 await main();
592598
593599 - name : Install gh-aw
594- uses : github/gh-aw-actions/setup-cli@c0338fef4749d08c21f8f975fb0e37efa17dda47 # v0.79.8
600+ uses : github/gh-aw-actions/setup-cli@8c7d04ebf1ece56cd381446125da3e0f6896294a # v0.80.9
595601 with :
596- version : v0.79.8
602+ version : v0.80.9
597603
598604 - name : Validate workflows and file issue on findings
599605 uses : actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0
0 commit comments