1212# \ /\ / (_) | | | | ( | | | | (_) \ V V /\__ \
1313# \/ \/ \___/|_| |_|\_\|_| |_|\___/ \_/\_/ |___/
1414#
15- # This file was automatically generated by pkg/workflow/maintenance_workflow.go (v0.68 .3). DO NOT EDIT.
15+ # This file was automatically generated by pkg/workflow/maintenance_workflow.go (v0.69 .3). DO NOT EDIT.
1616#
1717# To regenerate this workflow, run:
1818# gh aw compile
5050 - ' upgrade'
5151 - ' safe_outputs'
5252 - ' create_labels'
53+ - ' activity_report'
54+ - ' close_agentic_workflows_issues'
5355 - ' clean_cache_memories'
5456 - ' validate'
5557 run_url :
6062 workflow_call :
6163 inputs :
6264 operation :
63- description : ' Optional maintenance operation to run (disable, enable, update, upgrade, safe_outputs, create_labels, clean_cache_memories, validate)'
65+ description : ' Optional maintenance operation to run (disable, enable, update, upgrade, safe_outputs, create_labels, activity_report, close_agentic_workflows_issues, clean_cache_memories, validate)'
6466 required : false
6567 type : string
6668 default : ' '
8991 pull-requests : write
9092 steps :
9193 - name : Setup Scripts
92- uses : github/gh-aw-actions/setup@ba90f2186d7ad780ec640f364005fa24e797b360 # v0.68 .3
94+ uses : github/gh-aw-actions/setup@006ffd856b868b71df342dbe0ba082a963249b31 # v0.69 .3
9395 with :
9496 destination : ${{ runner.temp }}/gh-aw/actions
9597
@@ -127,7 +129,7 @@ jobs:
127129 actions : write
128130 steps :
129131 - name : Setup Scripts
130- uses : github/gh-aw-actions/setup@ba90f2186d7ad780ec640f364005fa24e797b360 # v0.68 .3
132+ uses : github/gh-aw-actions/setup@006ffd856b868b71df342dbe0ba082a963249b31 # v0.69 .3
131133 with :
132134 destination : ${{ runner.temp }}/gh-aw/actions
133135
@@ -141,7 +143,7 @@ jobs:
141143 await main();
142144
143145 run_operation :
144- if : ${{ (github.event_name == 'workflow_dispatch' || github.event_name == 'workflow_call') && inputs.operation != '' && inputs.operation != 'safe_outputs' && inputs.operation != 'create_labels' && inputs.operation != 'clean_cache_memories' && inputs.operation != 'validate' && (!(github.event.repository.fork)) }}
146+ if : ${{ (github.event_name == 'workflow_dispatch' || github.event_name == 'workflow_call') && inputs.operation != '' && inputs.operation != 'safe_outputs' && inputs.operation != 'create_labels' && inputs.operation != 'activity_report' && inputs.operation != 'close_agentic_workflows_issues' && inputs.operation != ' clean_cache_memories' && inputs.operation != 'validate' && (!(github.event.repository.fork)) }}
145147 runs-on : ubuntu-slim
146148 permissions :
147149 actions : write
@@ -156,7 +158,7 @@ jobs:
156158 persist-credentials : false
157159
158160 - name : Setup Scripts
159- uses : github/gh-aw-actions/setup@ba90f2186d7ad780ec640f364005fa24e797b360 # v0.68 .3
161+ uses : github/gh-aw-actions/setup@006ffd856b868b71df342dbe0ba082a963249b31 # v0.69 .3
160162 with :
161163 destination : ${{ runner.temp }}/gh-aw/actions
162164
@@ -171,9 +173,9 @@ jobs:
171173 await main();
172174
173175 - name : Install gh-aw
174- uses : github/gh-aw-actions/setup-cli@ba90f2186d7ad780ec640f364005fa24e797b360 # v0.68 .3
176+ uses : github/gh-aw-actions/setup-cli@006ffd856b868b71df342dbe0ba082a963249b31 # v0.69 .3
175177 with :
176- version : v0.68 .3
178+ version : v0.69 .3
177179
178180 - name : Run operation
179181 uses : actions/github-script@373c709c69115d41ff229c7e5df9f8788daa9553 # v9
@@ -213,7 +215,7 @@ jobs:
213215 persist-credentials : false
214216
215217 - name : Setup Scripts
216- uses : github/gh-aw-actions/setup@ba90f2186d7ad780ec640f364005fa24e797b360 # v0.68 .3
218+ uses : github/gh-aw-actions/setup@006ffd856b868b71df342dbe0ba082a963249b31 # v0.69 .3
217219 with :
218220 destination : ${{ runner.temp }}/gh-aw/actions
219221
@@ -257,7 +259,7 @@ jobs:
257259 persist-credentials : false
258260
259261 - name : Setup Scripts
260- uses : github/gh-aw-actions/setup@ba90f2186d7ad780ec640f364005fa24e797b360 # v0.68 .3
262+ uses : github/gh-aw-actions/setup@006ffd856b868b71df342dbe0ba082a963249b31 # v0.69 .3
261263 with :
262264 destination : ${{ runner.temp }}/gh-aw/actions
263265
@@ -272,9 +274,9 @@ jobs:
272274 await main();
273275
274276 - name : Install gh-aw
275- uses : github/gh-aw-actions/setup-cli@ba90f2186d7ad780ec640f364005fa24e797b360 # v0.68 .3
277+ uses : github/gh-aw-actions/setup-cli@006ffd856b868b71df342dbe0ba082a963249b31 # v0.69 .3
276278 with :
277- version : v0.68 .3
279+ version : v0.69 .3
278280
279281 - name : Create missing labels
280282 uses : actions/github-script@373c709c69115d41ff229c7e5df9f8788daa9553 # v9
@@ -288,6 +290,93 @@ jobs:
288290 const { main } = require('${{ runner.temp }}/gh-aw/actions/create_labels.cjs');
289291 await main();
290292
293+ activity_report :
294+ if : ${{ (github.event_name == 'workflow_dispatch' || github.event_name == 'workflow_call') && inputs.operation == 'activity_report' && (!(github.event.repository.fork)) }}
295+ runs-on : ubuntu-slim
296+ timeout-minutes : 120
297+ permissions :
298+ actions : read
299+ contents : read
300+ issues : write
301+ steps :
302+ - name : Checkout repository
303+ uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
304+ with :
305+ persist-credentials : false
306+
307+ - name : Setup Scripts
308+ uses : github/gh-aw-actions/setup@006ffd856b868b71df342dbe0ba082a963249b31 # v0.69.3
309+ with :
310+ destination : ${{ runner.temp }}/gh-aw/actions
311+
312+ - name : Check admin/maintainer permissions
313+ uses : actions/github-script@373c709c69115d41ff229c7e5df9f8788daa9553 # v9
314+ with :
315+ github-token : ${{ secrets.GITHUB_TOKEN }}
316+ script : |
317+ const { setupGlobals } = require('${{ runner.temp }}/gh-aw/actions/setup_globals.cjs');
318+ setupGlobals(core, github, context, exec, io, getOctokit);
319+ const { main } = require('${{ runner.temp }}/gh-aw/actions/check_team_member.cjs');
320+ await main();
321+
322+ - name : Install gh-aw
323+ uses : github/gh-aw-actions/setup-cli@006ffd856b868b71df342dbe0ba082a963249b31 # v0.69.3
324+ with :
325+ version : v0.69.3
326+
327+ - name : Cache activity report logs
328+ uses : actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5
329+ with :
330+ path : ./.cache/gh-aw/activity-report-logs
331+ key : ${{ runner.os }}-activity-report-logs-${{ github.repository }}-${{ github.ref_name }}-${{ github.run_id }}
332+ restore-keys : |
333+ ${{ runner.os }}-activity-report-logs-${{ github.repository }}-
334+ ${{ runner.os }}-activity-report-logs-
335+ - name : Generate agentic workflow activity report
336+ uses : actions/github-script@373c709c69115d41ff229c7e5df9f8788daa9553 # v9
337+ env :
338+ GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
339+ GH_AW_CMD_PREFIX : gh aw
340+ GH_AW_ACTIVITY_REPORT_OUTPUT_DIR : ./.cache/gh-aw/activity-report-logs
341+ with :
342+ github-token : ${{ secrets.GITHUB_TOKEN }}
343+ script : |
344+ const { setupGlobals } = require('${{ runner.temp }}/gh-aw/actions/setup_globals.cjs');
345+ setupGlobals(core, github, context, exec, io, getOctokit);
346+ const { main } = require('${{ runner.temp }}/gh-aw/actions/run_activity_report.cjs');
347+ await main();
348+
349+ close_agentic_workflows_issues :
350+ if : ${{ (github.event_name == 'workflow_dispatch' || github.event_name == 'workflow_call') && inputs.operation == 'close_agentic_workflows_issues' && (!(github.event.repository.fork)) }}
351+ runs-on : ubuntu-slim
352+ permissions :
353+ issues : write
354+ steps :
355+ - name : Setup Scripts
356+ uses : github/gh-aw-actions/setup@006ffd856b868b71df342dbe0ba082a963249b31 # v0.69.3
357+ with :
358+ destination : ${{ runner.temp }}/gh-aw/actions
359+
360+ - name : Check admin/maintainer permissions
361+ uses : actions/github-script@373c709c69115d41ff229c7e5df9f8788daa9553 # v9
362+ with :
363+ github-token : ${{ secrets.GITHUB_TOKEN }}
364+ script : |
365+ const { setupGlobals } = require('${{ runner.temp }}/gh-aw/actions/setup_globals.cjs');
366+ setupGlobals(core, github, context, exec, io, getOctokit);
367+ const { main } = require('${{ runner.temp }}/gh-aw/actions/check_team_member.cjs');
368+ await main();
369+
370+ - name : Close no-repro agentic-workflows issues
371+ uses : actions/github-script@373c709c69115d41ff229c7e5df9f8788daa9553 # v9
372+ with :
373+ github-token : ${{ secrets.GITHUB_TOKEN }}
374+ script : |
375+ const { setupGlobals } = require('${{ runner.temp }}/gh-aw/actions/setup_globals.cjs');
376+ setupGlobals(core, github, context, exec, io, getOctokit);
377+ const { main } = require('${{ runner.temp }}/gh-aw/actions/close_agentic_workflows_issues.cjs');
378+ await main();
379+
291380 validate_workflows :
292381 if : ${{ (github.event_name == 'workflow_dispatch' || github.event_name == 'workflow_call') && inputs.operation == 'validate' && (!(github.event.repository.fork)) }}
293382 runs-on : ubuntu-latest
@@ -301,7 +390,7 @@ jobs:
301390 persist-credentials : false
302391
303392 - name : Setup Scripts
304- uses : github/gh-aw-actions/setup@ba90f2186d7ad780ec640f364005fa24e797b360 # v0.68 .3
393+ uses : github/gh-aw-actions/setup@006ffd856b868b71df342dbe0ba082a963249b31 # v0.69 .3
305394 with :
306395 destination : ${{ runner.temp }}/gh-aw/actions
307396
@@ -316,9 +405,9 @@ jobs:
316405 await main();
317406
318407 - name : Install gh-aw
319- uses : github/gh-aw-actions/setup-cli@ba90f2186d7ad780ec640f364005fa24e797b360 # v0.68 .3
408+ uses : github/gh-aw-actions/setup-cli@006ffd856b868b71df342dbe0ba082a963249b31 # v0.69 .3
320409 with :
321- version : v0.68 .3
410+ version : v0.69 .3
322411
323412 - name : Validate workflows and file issue on findings
324413 uses : actions/github-script@373c709c69115d41ff229c7e5df9f8788daa9553 # v9
0 commit comments