1212# \ /\ / (_) | | | | ( | | | | (_) \ V V /\__ \
1313# \/ \/ \___/|_| |_|\_\|_| |_|\___/ \_/\_/ |___/
1414#
15- # This file was automatically generated by pkg/workflow/maintenance_workflow.go (v0.77.5 ). DO NOT EDIT.
15+ # This file was automatically generated by pkg/workflow/maintenance_workflow.go (v0.79.2 ). DO NOT EDIT.
1616#
1717# To regenerate this workflow, run:
1818# gh aw compile
9393 pull-requests : write
9494 steps :
9595 - name : Setup Scripts
96- uses : github/gh-aw-actions/setup@3ea13c02d765410340d533515cb31a7eef2baaf0 # v0.77.5
96+ uses : github/gh-aw-actions/setup@9b1d730701c16b15673633e5696d01677fad9844 # v0.79.2
9797 with :
9898 destination : ${{ runner.temp }}/gh-aw/actions
9999
@@ -131,7 +131,7 @@ jobs:
131131 actions : write
132132 steps :
133133 - name : Setup Scripts
134- uses : github/gh-aw-actions/setup@3ea13c02d765410340d533515cb31a7eef2baaf0 # v0.77.5
134+ uses : github/gh-aw-actions/setup@9b1d730701c16b15673633e5696d01677fad9844 # v0.79.2
135135 with :
136136 destination : ${{ runner.temp }}/gh-aw/actions
137137
@@ -155,12 +155,12 @@ jobs:
155155 operation : ${{ steps.record.outputs.operation }}
156156 steps :
157157 - name : Checkout repository
158- uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
158+ uses : actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
159159 with :
160160 persist-credentials : false
161161
162162 - name : Setup Scripts
163- uses : github/gh-aw-actions/setup@3ea13c02d765410340d533515cb31a7eef2baaf0 # v0.77.5
163+ uses : github/gh-aw-actions/setup@9b1d730701c16b15673633e5696d01677fad9844 # v0.79.2
164164 with :
165165 destination : ${{ runner.temp }}/gh-aw/actions
166166
@@ -175,9 +175,9 @@ jobs:
175175 await main();
176176
177177 - name : Install gh-aw
178- uses : github/gh-aw-actions/setup-cli@v0.77.5
178+ uses : github/gh-aw-actions/setup-cli@9b1d730701c16b15673633e5696d01677fad9844 # v0.79.2
179179 with :
180- version : v0.77.5
180+ version : v0.79.2
181181
182182 - name : Run operation
183183 uses : actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0
@@ -205,7 +205,7 @@ jobs:
205205 pull-requests : write
206206 steps :
207207 - name : Setup Scripts
208- uses : github/gh-aw-actions/setup@3ea13c02d765410340d533515cb31a7eef2baaf0 # v0.77.5
208+ uses : github/gh-aw-actions/setup@9b1d730701c16b15673633e5696d01677fad9844 # v0.79.2
209209 with :
210210 destination : ${{ runner.temp }}/gh-aw/actions
211211
@@ -244,14 +244,14 @@ jobs:
244244 run_url : ${{ steps.record.outputs.run_url }}
245245 steps :
246246 - name : Checkout actions folder
247- uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
247+ uses : actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
248248 with :
249249 sparse-checkout : |
250250 actions
251251 persist-credentials : false
252252
253253 - name : Setup Scripts
254- uses : github/gh-aw-actions/setup@3ea13c02d765410340d533515cb31a7eef2baaf0 # v0.77.5
254+ uses : github/gh-aw-actions/setup@9b1d730701c16b15673633e5696d01677fad9844 # v0.79.2
255255 with :
256256 destination : ${{ runner.temp }}/gh-aw/actions
257257
@@ -290,12 +290,12 @@ jobs:
290290 issues : write
291291 steps :
292292 - name : Checkout repository
293- uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
293+ uses : actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
294294 with :
295295 persist-credentials : false
296296
297297 - name : Setup Scripts
298- uses : github/gh-aw-actions/setup@3ea13c02d765410340d533515cb31a7eef2baaf0 # v0.77.5
298+ uses : github/gh-aw-actions/setup@9b1d730701c16b15673633e5696d01677fad9844 # v0.79.2
299299 with :
300300 destination : ${{ runner.temp }}/gh-aw/actions
301301
@@ -310,9 +310,9 @@ jobs:
310310 await main();
311311
312312 - name : Install gh-aw
313- uses : github/gh-aw-actions/setup-cli@v0.77.5
313+ uses : github/gh-aw-actions/setup-cli@9b1d730701c16b15673633e5696d01677fad9844 # v0.79.2
314314 with :
315- version : v0.77.5
315+ version : v0.79.2
316316
317317 - name : Create missing labels
318318 uses : actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0
@@ -336,12 +336,12 @@ jobs:
336336 issues : write
337337 steps :
338338 - name : Checkout repository
339- uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
339+ uses : actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
340340 with :
341341 persist-credentials : false
342342
343343 - name : Setup Scripts
344- uses : github/gh-aw-actions/setup@3ea13c02d765410340d533515cb31a7eef2baaf0 # v0.77.5
344+ uses : github/gh-aw-actions/setup@9b1d730701c16b15673633e5696d01677fad9844 # v0.79.2
345345 with :
346346 destination : ${{ runner.temp }}/gh-aw/actions
347347
@@ -356,9 +356,9 @@ jobs:
356356 await main();
357357
358358 - name : Install gh-aw
359- uses : github/gh-aw-actions/setup-cli@v0.77.5
359+ uses : github/gh-aw-actions/setup-cli@9b1d730701c16b15673633e5696d01677fad9844 # v0.79.2
360360 with :
361- version : v0.77.5
361+ version : v0.79.2
362362
363363 - name : Restore activity report logs cache
364364 id : activity_report_logs_cache
@@ -441,12 +441,12 @@ jobs:
441441 issues : write
442442 steps :
443443 - name : Checkout repository
444- uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
444+ uses : actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
445445 with :
446446 persist-credentials : false
447447
448448 - name : Setup Scripts
449- uses : github/gh-aw-actions/setup@3ea13c02d765410340d533515cb31a7eef2baaf0 # v0.77.5
449+ uses : github/gh-aw-actions/setup@9b1d730701c16b15673633e5696d01677fad9844 # v0.79.2
450450 with :
451451 destination : ${{ runner.temp }}/gh-aw/actions
452452
@@ -461,40 +461,37 @@ jobs:
461461 await main();
462462
463463 - name : Install gh-aw
464- uses : github/gh-aw-actions/setup-cli@v0.77.5
464+ uses : github/gh-aw-actions/setup-cli@9b1d730701c16b15673633e5696d01677fad9844 # v0.79.2
465465 with :
466- version : v0.77.5
466+ version : v0.79.2
467467
468468 - name : Restore forecast report logs cache
469469 id : forecast_report_logs_cache
470470 uses : actions/cache/restore@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5
471471 with :
472- path : .github/aw/logs
472+ path : ./. github/aw/logs
473473 key : ${{ runner.os }}-forecast-report-logs-${{ github.repository }}-${{ github.ref_name }}-${{ github.run_id }}
474474 restore-keys : |
475475 ${{ runner.os }}-forecast-report-logs-${{ github.repository }}-
476476 ${{ runner.os }}-forecast-report-logs-
477477
478478 - name : Generate forecast report
479479 id : generate_forecast_report
480+ timeout-minutes : 30
480481 shell : bash
481482 env :
482483 GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
484+ DEBUG : " *"
483485 GH_AW_CMD_PREFIX : gh aw
484486 run : |
485487 mkdir -p ./.cache/gh-aw/forecast
486- ${GH_AW_CMD_PREFIX} logs --repo "${{ github.repository }}" --start-date -30d --count 1500 > /dev/null
487- if ! compgen -G ".github/aw/logs/run-*/run_summary.json" > /dev/null; then
488- echo "::error::Missing run summary cache in .github/aw/logs after gh aw logs warm-up; cannot run forecast."
489- exit 1
490- fi
491488 set +e
492- ${GH_AW_CMD_PREFIX} forecast --repo "${{ github.repository }}" --timeout 10 --json 2> >(grep -Fv "forecast is an experimental command and may change without notice" >&2) > ./.cache/gh-aw/forecast/report.json
489+ ${GH_AW_CMD_PREFIX} forecast --repo "${{ github.repository }}" --timeout 30 --verbose --json > ./.cache/gh-aw/forecast/report.json
493490 forecast_exit_code=$?
494491 set -e
495492 if [ "${forecast_exit_code}" -eq 124 ]; then
496- echo '{"outcome":"timeout","message":"Forecast computation timed out after 10 minutes."}' > ./.cache/gh-aw/forecast/error.json
497- echo "::error::Forecast computation timed out after 10 minutes."
493+ echo '{"outcome":"timeout","message":"Forecast computation timed out after 30 minutes."}' > ./.cache/gh-aw/forecast/error.json
494+ echo "::error::Forecast computation timed out after 30 minutes."
498495 exit 1
499496 fi
500497 if [ "${forecast_exit_code}" -ne 0 ]; then
@@ -503,12 +500,23 @@ jobs:
503500 exit 1
504501 fi
505502
503+ - name : Debug forecast logs folder
504+ if : ${{ always() }}
505+ shell : bash
506+ run : |
507+ if [ ! -d ./.github/aw/logs ]; then
508+ echo "Logs directory not found: ./.github/aw/logs"
509+ exit 0
510+ fi
511+ echo "Files under ./.github/aw/logs:"
512+ find ./.github/aw/logs -type f | sort
513+
506514 - name : Save forecast report logs cache
507515 if : ${{ always() }}
508516 uses : actions/cache/save@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5
509517 with :
510- path : .github/aw/logs
511- key : ${{ steps.forecast_report_logs_cache.outputs.cache-primary-key }}
518+ path : ./. github/aw/logs
519+ key : ${{ runner.os }}-forecast-report-logs-${{ github.repository }}-${{ github.ref_name }}-${{ github.run_id }}
512520
513521 - name : Generate forecast issue
514522 if : ${{ always() }}
@@ -530,7 +538,7 @@ jobs:
530538 issues : write
531539 steps :
532540 - name : Setup Scripts
533- uses : github/gh-aw-actions/setup@3ea13c02d765410340d533515cb31a7eef2baaf0 # v0.77.5
541+ uses : github/gh-aw-actions/setup@9b1d730701c16b15673633e5696d01677fad9844 # v0.79.2
534542 with :
535543 destination : ${{ runner.temp }}/gh-aw/actions
536544
@@ -562,12 +570,12 @@ jobs:
562570 issues : write
563571 steps :
564572 - name : Checkout repository
565- uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
573+ uses : actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
566574 with :
567575 persist-credentials : false
568576
569577 - name : Setup Scripts
570- uses : github/gh-aw-actions/setup@3ea13c02d765410340d533515cb31a7eef2baaf0 # v0.77.5
578+ uses : github/gh-aw-actions/setup@9b1d730701c16b15673633e5696d01677fad9844 # v0.79.2
571579 with :
572580 destination : ${{ runner.temp }}/gh-aw/actions
573581
@@ -582,9 +590,9 @@ jobs:
582590 await main();
583591
584592 - name : Install gh-aw
585- uses : github/gh-aw-actions/setup-cli@v0.77.5
593+ uses : github/gh-aw-actions/setup-cli@9b1d730701c16b15673633e5696d01677fad9844 # v0.79.2
586594 with :
587- version : v0.77.5
595+ version : v0.79.2
588596
589597 - name : Validate workflows and file issue on findings
590598 uses : actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0
0 commit comments