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
1+ # This file was automatically generated by pkg/workflow/maintenance_workflow.go (v0.82.14 ). DO NOT EDIT. To debug this workflow, load the skill at https://github.com/github/gh-aw/blob/main/debug.md
22#
3- # ___ _ _
4- # / _ \ | | (_)
5- # | |_| | __ _ ___ _ __ | |_ _ ___
3+ # ___ _ _
4+ # / _ \ | | (_)
5+ # | |_| | __ _ ___ _ __ | |_ _ ___
66# | _ |/ _` |/ _ \ '_ \| __| |/ __|
7- # | | | | (_| | __/ | | | |_| | (__
7+ # | | | | (_| | __/ | | | |_| | (__
88# \_| |_/\__, |\___|_| |_|\__|_|\___|
99# __/ |
10- # _ _ |___/
10+ # _ _ |___/
1111# | | | | / _| |
1212# | | | | ___ _ __ _ __| |_| | _____ ____
1313# | |/\| |/ _ \ '__| |/ /| _| |/ _ \ \ /\ / / ___|
2323#
2424# This file defines the generated agentic maintenance workflow for this repository.
2525# It runs scheduled cleanup for expiring safe outputs and supports manual maintenance operations.
26- #
26+ #
2727# This workflow is generated automatically when workflows use expiring safe outputs
2828# or when repository maintenance features are enabled in .github/workflows/aw.json.
29- #
29+ #
3030# To disable maintenance workflow generation, set in .github/workflows/aw.json:
3131# {"maintenance": false}
32- #
32+ #
3333# Agentic maintenance docs:
3434# https://github.github.com/gh-aw/reference/ephemerals/#manual-maintenance-operations
3535#
8787permissions : {}
8888
8989jobs :
90- close-expired-entities :
90+ close-expired-discussions :
9191 if : ${{ (!(github.event.repository.fork)) && github.event_name != 'push' && (github.event_name != 'workflow_dispatch' && github.event_name != 'workflow_call' || inputs.operation == '') }}
9292 runs-on : ubuntu-slim
9393 permissions :
9494 discussions : write
95- issues : write
96- pull-requests : write
9795 steps :
9896 - name : Setup Scripts
99- uses : github/gh-aw/actions/setup@a3624368c4e7d877586ff2784b61de73405e2cdd # v0.80.9
97+ uses : github/gh-aw/actions/setup@8b820ae1073f301991aaf2f307f7e271f618bb9f # v0.82.14
10098 with :
10199 destination : ${{ runner.temp }}/gh-aw/actions
102100
@@ -108,6 +106,16 @@ jobs:
108106 setupGlobals(core, github, context, exec, io, getOctokit);
109107 const { main } = require('${{ runner.temp }}/gh-aw/actions/close_expired_discussions.cjs');
110108 await main();
109+ close-expired-issues :
110+ if : ${{ (!(github.event.repository.fork)) && github.event_name != 'push' && (github.event_name != 'workflow_dispatch' && github.event_name != 'workflow_call' || inputs.operation == '') }}
111+ runs-on : ubuntu-slim
112+ permissions :
113+ issues : write
114+ steps :
115+ - name : Setup Scripts
116+ uses : github/gh-aw/actions/setup@8b820ae1073f301991aaf2f307f7e271f618bb9f # v0.82.14
117+ with :
118+ destination : ${{ runner.temp }}/gh-aw/actions
111119
112120 - name : Close expired issues
113121 uses : actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0
@@ -117,6 +125,16 @@ jobs:
117125 setupGlobals(core, github, context, exec, io, getOctokit);
118126 const { main } = require('${{ runner.temp }}/gh-aw/actions/close_expired_issues.cjs');
119127 await main();
128+ close-expired-pull-requests :
129+ if : ${{ (!(github.event.repository.fork)) && github.event_name != 'push' && (github.event_name != 'workflow_dispatch' && github.event_name != 'workflow_call' || inputs.operation == '') }}
130+ runs-on : ubuntu-slim
131+ permissions :
132+ pull-requests : write
133+ steps :
134+ - name : Setup Scripts
135+ uses : github/gh-aw/actions/setup@8b820ae1073f301991aaf2f307f7e271f618bb9f # v0.82.14
136+ with :
137+ destination : ${{ runner.temp }}/gh-aw/actions
120138
121139 - name : Close expired pull requests
122140 uses : actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0
@@ -134,7 +152,7 @@ jobs:
134152 actions : write
135153 steps :
136154 - name : Setup Scripts
137- uses : github/gh-aw/actions/setup@a3624368c4e7d877586ff2784b61de73405e2cdd # v0.80.9
155+ uses : github/gh-aw/actions/setup@8b820ae1073f301991aaf2f307f7e271f618bb9f # v0.82.14
138156 with :
139157 destination : ${{ runner.temp }}/gh-aw/actions
140158
@@ -163,7 +181,7 @@ jobs:
163181 persist-credentials : false
164182
165183 - name : Setup Scripts
166- uses : github/gh-aw/actions/setup@a3624368c4e7d877586ff2784b61de73405e2cdd # v0.80.9
184+ uses : github/gh-aw/actions/setup@8b820ae1073f301991aaf2f307f7e271f618bb9f # v0.82.14
167185 with :
168186 destination : ${{ runner.temp }}/gh-aw/actions
169187
@@ -178,9 +196,9 @@ jobs:
178196 await main();
179197
180198 - name : Install gh-aw
181- uses : github/gh-aw-actions/setup-cli@8c7d04ebf1ece56cd381446125da3e0f6896294a # v0.80.9
199+ uses : github/gh-aw-actions/setup-cli@b6d1443e05b8716267fa19425b99aa4f12006b4a # v0.82.14
182200 with :
183- version : v0.80.9
201+ version : v0.82.14
184202
185203 - name : Run operation
186204 uses : actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0
@@ -210,7 +228,7 @@ jobs:
210228 pull-requests : write
211229 steps :
212230 - name : Setup Scripts
213- uses : github/gh-aw/actions/setup@a3624368c4e7d877586ff2784b61de73405e2cdd # v0.80.9
231+ uses : github/gh-aw/actions/setup@8b820ae1073f301991aaf2f307f7e271f618bb9f # v0.82.14
214232 with :
215233 destination : ${{ runner.temp }}/gh-aw/actions
216234
@@ -253,10 +271,11 @@ jobs:
253271 with :
254272 sparse-checkout : |
255273 actions
274+ clean : false
256275 persist-credentials : false
257276
258277 - name : Setup Scripts
259- uses : github/gh-aw/actions/setup@a3624368c4e7d877586ff2784b61de73405e2cdd # v0.80.9
278+ uses : github/gh-aw/actions/setup@8b820ae1073f301991aaf2f307f7e271f618bb9f # v0.82.14
260279 with :
261280 destination : ${{ runner.temp }}/gh-aw/actions
262281
@@ -302,7 +321,7 @@ jobs:
302321 persist-credentials : false
303322
304323 - name : Setup Scripts
305- uses : github/gh-aw/actions/setup@a3624368c4e7d877586ff2784b61de73405e2cdd # v0.80.9
324+ uses : github/gh-aw/actions/setup@8b820ae1073f301991aaf2f307f7e271f618bb9f # v0.82.14
306325 with :
307326 destination : ${{ runner.temp }}/gh-aw/actions
308327
@@ -317,9 +336,9 @@ jobs:
317336 await main();
318337
319338 - name : Install gh-aw
320- uses : github/gh-aw-actions/setup-cli@8c7d04ebf1ece56cd381446125da3e0f6896294a # v0.80.9
339+ uses : github/gh-aw-actions/setup-cli@b6d1443e05b8716267fa19425b99aa4f12006b4a # v0.82.14
321340 with :
322- version : v0.80.9
341+ version : v0.82.14
323342
324343 - name : Create missing labels
325344 uses : actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0
@@ -348,7 +367,7 @@ jobs:
348367 persist-credentials : false
349368
350369 - name : Setup Scripts
351- uses : github/gh-aw/actions/setup@a3624368c4e7d877586ff2784b61de73405e2cdd # v0.80.9
370+ uses : github/gh-aw/actions/setup@8b820ae1073f301991aaf2f307f7e271f618bb9f # v0.82.14
352371 with :
353372 destination : ${{ runner.temp }}/gh-aw/actions
354373
@@ -363,13 +382,13 @@ jobs:
363382 await main();
364383
365384 - name : Install gh-aw
366- uses : github/gh-aw-actions/setup-cli@8c7d04ebf1ece56cd381446125da3e0f6896294a # v0.80.9
385+ uses : github/gh-aw-actions/setup-cli@b6d1443e05b8716267fa19425b99aa4f12006b4a # v0.82.14
367386 with :
368- version : v0.80.9
387+ version : v0.82.14
369388
370389 - name : Restore activity report logs cache
371390 id : activity_report_logs_cache
372- uses : actions/cache/restore@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5
391+ uses : actions/cache/restore@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
373392 with :
374393 path : ./.cache/gh-aw/activity-report-logs
375394 key : ${{ runner.os }}-activity-report-logs-${{ github.repository }}-${{ github.ref_name }}-${{ github.run_id }}
@@ -384,7 +403,7 @@ jobs:
384403 GH_AW_CMD_PREFIX : gh aw
385404 run : |
386405 ${GH_AW_CMD_PREFIX} logs \
387- --repo "${{ github.repository }} " \
406+ --repo "$GITHUB_REPOSITORY " \
388407 --start-date -1w \
389408 --count 500 \
390409 --output ./.cache/gh-aw/activity-report-logs \
@@ -393,7 +412,7 @@ jobs:
393412
394413 - name : Save activity report logs cache
395414 if : ${{ always() }}
396- uses : actions/cache/save@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5
415+ uses : actions/cache/save@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
397416 with :
398417 path : ./.cache/gh-aw/activity-report-logs
399418 key : ${{ steps.activity_report_logs_cache.outputs.cache-primary-key }}
@@ -453,7 +472,7 @@ jobs:
453472 persist-credentials : false
454473
455474 - name : Setup Scripts
456- uses : github/gh-aw/actions/setup@a3624368c4e7d877586ff2784b61de73405e2cdd # v0.80.9
475+ uses : github/gh-aw/actions/setup@8b820ae1073f301991aaf2f307f7e271f618bb9f # v0.82.14
457476 with :
458477 destination : ${{ runner.temp }}/gh-aw/actions
459478
@@ -468,13 +487,13 @@ jobs:
468487 await main();
469488
470489 - name : Install gh-aw
471- uses : github/gh-aw-actions/setup-cli@8c7d04ebf1ece56cd381446125da3e0f6896294a # v0.80.9
490+ uses : github/gh-aw-actions/setup-cli@b6d1443e05b8716267fa19425b99aa4f12006b4a # v0.82.14
472491 with :
473- version : v0.80.9
492+ version : v0.82.14
474493
475494 - name : Restore forecast report logs cache
476495 id : forecast_report_logs_cache
477- uses : actions/cache/restore@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5
496+ uses : actions/cache/restore@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
478497 with :
479498 path : ./.github/aw/logs
480499 key : ${{ runner.os }}-forecast-report-logs-${{ github.repository }}-${{ github.ref_name }}-${{ github.run_id }}
@@ -493,7 +512,7 @@ jobs:
493512 run : |
494513 mkdir -p ./.cache/gh-aw/forecast
495514 set +e
496- ${GH_AW_CMD_PREFIX} forecast --repo "${{ github.repository }} " --timeout 30 --verbose --json > ./.cache/gh-aw/forecast/report.json
515+ ${GH_AW_CMD_PREFIX} forecast --repo "$GITHUB_REPOSITORY " --timeout 30 --verbose --json > ./.cache/gh-aw/forecast/report.json
497516 forecast_exit_code=$?
498517 set -e
499518 if [ "${forecast_exit_code}" -eq 124 ]; then
@@ -520,7 +539,7 @@ jobs:
520539
521540 - name : Save forecast report logs cache
522541 if : ${{ always() }}
523- uses : actions/cache/save@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5
542+ uses : actions/cache/save@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
524543 with :
525544 path : ./.github/aw/logs
526545 key : ${{ runner.os }}-forecast-report-logs-${{ github.repository }}-${{ github.ref_name }}-${{ github.run_id }}
@@ -545,7 +564,7 @@ jobs:
545564 issues : write
546565 steps :
547566 - name : Setup Scripts
548- uses : github/gh-aw/actions/setup@a3624368c4e7d877586ff2784b61de73405e2cdd # v0.80.9
567+ uses : github/gh-aw/actions/setup@8b820ae1073f301991aaf2f307f7e271f618bb9f # v0.82.14
549568 with :
550569 destination : ${{ runner.temp }}/gh-aw/actions
551570
@@ -582,7 +601,7 @@ jobs:
582601 persist-credentials : false
583602
584603 - name : Setup Scripts
585- uses : github/gh-aw/actions/setup@a3624368c4e7d877586ff2784b61de73405e2cdd # v0.80.9
604+ uses : github/gh-aw/actions/setup@8b820ae1073f301991aaf2f307f7e271f618bb9f # v0.82.14
586605 with :
587606 destination : ${{ runner.temp }}/gh-aw/actions
588607
@@ -597,9 +616,9 @@ jobs:
597616 await main();
598617
599618 - name : Install gh-aw
600- uses : github/gh-aw-actions/setup-cli@8c7d04ebf1ece56cd381446125da3e0f6896294a # v0.80.9
619+ uses : github/gh-aw-actions/setup-cli@b6d1443e05b8716267fa19425b99aa4f12006b4a # v0.82.14
601620 with :
602- version : v0.80.9
621+ version : v0.82.14
603622
604623 - name : Validate workflows and file issue on findings
605624 uses : actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0
0 commit comments