1212# \ /\ / (_) | | | | ( | | | | (_) \ V V /\__ \
1313# \/ \/ \___/|_| |_|\_\|_| |_|\___/ \_/\_/ |___/
1414#
15- # This file was automatically generated by pkg/workflow/maintenance_workflow.go. DO NOT EDIT.
15+ # This file was automatically generated by pkg/workflow/maintenance_workflow.go (v0.68.7) . DO NOT EDIT.
1616#
1717# To regenerate this workflow, run:
1818# gh aw compile
@@ -88,20 +88,13 @@ jobs:
8888 issues : write
8989 pull-requests : write
9090 steps :
91- - name : Checkout actions folder
92- uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
93- with :
94- sparse-checkout : |
95- actions
96- persist-credentials : false
97-
9891 - name : Setup Scripts
99- uses : ./ actions/setup
92+ uses : github/gh-aw- actions/setup@f52802884d655622f0a2dfd6d6a2250983c95523 # v0.68.7
10093 with :
10194 destination : ${{ runner.temp }}/gh-aw/actions
10295
10396 - name : Close expired discussions
104- uses : actions/github-script@373c709c69115d41ff229c7e5df9f8788daa9553 # v9
97+ uses : actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9
10598 with :
10699 script : |
107100 const { setupGlobals } = require('${{ runner.temp }}/gh-aw/actions/setup_globals.cjs');
@@ -110,7 +103,7 @@ jobs:
110103 await main();
111104
112105 - name : Close expired issues
113- uses : actions/github-script@373c709c69115d41ff229c7e5df9f8788daa9553 # v9
106+ uses : actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9
114107 with :
115108 script : |
116109 const { setupGlobals } = require('${{ runner.temp }}/gh-aw/actions/setup_globals.cjs');
@@ -119,7 +112,7 @@ jobs:
119112 await main();
120113
121114 - name : Close expired pull requests
122- uses : actions/github-script@373c709c69115d41ff229c7e5df9f8788daa9553 # v9
115+ uses : actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9
123116 with :
124117 script : |
125118 const { setupGlobals } = require('${{ runner.temp }}/gh-aw/actions/setup_globals.cjs');
@@ -133,20 +126,13 @@ jobs:
133126 permissions :
134127 actions : write
135128 steps :
136- - name : Checkout actions folder
137- uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
138- with :
139- sparse-checkout : |
140- actions
141- persist-credentials : false
142-
143129 - name : Setup Scripts
144- uses : ./ actions/setup
130+ uses : github/gh-aw- actions/setup@f52802884d655622f0a2dfd6d6a2250983c95523 # v0.68.7
145131 with :
146132 destination : ${{ runner.temp }}/gh-aw/actions
147133
148134 - name : Cleanup outdated cache-memory entries
149- uses : actions/github-script@373c709c69115d41ff229c7e5df9f8788daa9553 # v9
135+ uses : actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9
150136 with :
151137 script : |
152138 const { setupGlobals } = require('${{ runner.temp }}/gh-aw/actions/setup_globals.cjs');
@@ -170,12 +156,12 @@ jobs:
170156 persist-credentials : false
171157
172158 - name : Setup Scripts
173- uses : ./ actions/setup
159+ uses : github/gh-aw- actions/setup@f52802884d655622f0a2dfd6d6a2250983c95523 # v0.68.7
174160 with :
175161 destination : ${{ runner.temp }}/gh-aw/actions
176162
177163 - name : Check admin/maintainer permissions
178- uses : actions/github-script@373c709c69115d41ff229c7e5df9f8788daa9553 # v9
164+ uses : actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9
179165 with :
180166 github-token : ${{ secrets.GITHUB_TOKEN }}
181167 script : |
@@ -184,21 +170,17 @@ jobs:
184170 const { main } = require('${{ runner.temp }}/gh-aw/actions/check_team_member.cjs');
185171 await main();
186172
187- - name : Setup Go
188- uses : actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0
173+ - name : Install gh-aw
174+ uses : github/gh-aw- actions/setup-cli@f52802884d655622f0a2dfd6d6a2250983c95523 # v0.68.7
189175 with :
190- go-version-file : go.mod
191- cache : true
192-
193- - name : Build gh-aw
194- run : make build
176+ version : v0.68.7
195177
196178 - name : Run operation
197- uses : actions/github-script@373c709c69115d41ff229c7e5df9f8788daa9553 # v9
179+ uses : actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9
198180 env :
199181 GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
200182 GH_AW_OPERATION : ${{ inputs.operation }}
201- GH_AW_CMD_PREFIX : ./gh- aw
183+ GH_AW_CMD_PREFIX : gh aw
202184 with :
203185 github-token : ${{ secrets.GITHUB_TOKEN }}
204186 script : |
@@ -231,12 +213,12 @@ jobs:
231213 persist-credentials : false
232214
233215 - name : Setup Scripts
234- uses : ./ actions/setup
216+ uses : github/gh-aw- actions/setup@f52802884d655622f0a2dfd6d6a2250983c95523 # v0.68.7
235217 with :
236218 destination : ${{ runner.temp }}/gh-aw/actions
237219
238220 - name : Check admin/maintainer permissions
239- uses : actions/github-script@373c709c69115d41ff229c7e5df9f8788daa9553 # v9
221+ uses : actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9
240222 with :
241223 github-token : ${{ secrets.GITHUB_TOKEN }}
242224 script : |
@@ -246,7 +228,7 @@ jobs:
246228 await main();
247229
248230 - name : Apply Safe Outputs
249- uses : actions/github-script@373c709c69115d41ff229c7e5df9f8788daa9553 # v9
231+ uses : actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9
250232 env :
251233 GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
252234 GH_AW_RUN_URL : ${{ inputs.run_url }}
@@ -275,12 +257,12 @@ jobs:
275257 persist-credentials : false
276258
277259 - name : Setup Scripts
278- uses : ./ actions/setup
260+ uses : github/gh-aw- actions/setup@f52802884d655622f0a2dfd6d6a2250983c95523 # v0.68.7
279261 with :
280262 destination : ${{ runner.temp }}/gh-aw/actions
281263
282264 - name : Check admin/maintainer permissions
283- uses : actions/github-script@373c709c69115d41ff229c7e5df9f8788daa9553 # v9
265+ uses : actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9
284266 with :
285267 github-token : ${{ secrets.GITHUB_TOKEN }}
286268 script : |
@@ -289,19 +271,15 @@ jobs:
289271 const { main } = require('${{ runner.temp }}/gh-aw/actions/check_team_member.cjs');
290272 await main();
291273
292- - name : Setup Go
293- uses : actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0
274+ - name : Install gh-aw
275+ uses : github/gh-aw- actions/setup-cli@f52802884d655622f0a2dfd6d6a2250983c95523 # v0.68.7
294276 with :
295- go-version-file : go.mod
296- cache : true
297-
298- - name : Build gh-aw
299- run : make build
277+ version : v0.68.7
300278
301279 - name : Create missing labels
302- uses : actions/github-script@373c709c69115d41ff229c7e5df9f8788daa9553 # v9
280+ uses : actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9
303281 env :
304- GH_AW_CMD_PREFIX : ./gh- aw
282+ GH_AW_CMD_PREFIX : gh aw
305283 with :
306284 github-token : ${{ secrets.GITHUB_TOKEN }}
307285 script : |
@@ -323,12 +301,12 @@ jobs:
323301 persist-credentials : false
324302
325303 - name : Setup Scripts
326- uses : ./ actions/setup
304+ uses : github/gh-aw- actions/setup@f52802884d655622f0a2dfd6d6a2250983c95523 # v0.68.7
327305 with :
328306 destination : ${{ runner.temp }}/gh-aw/actions
329307
330308 - name : Check admin/maintainer permissions
331- uses : actions/github-script@373c709c69115d41ff229c7e5df9f8788daa9553 # v9
309+ uses : actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9
332310 with :
333311 github-token : ${{ secrets.GITHUB_TOKEN }}
334312 script : |
@@ -337,116 +315,19 @@ jobs:
337315 const { main } = require('${{ runner.temp }}/gh-aw/actions/check_team_member.cjs');
338316 await main();
339317
340- - name : Setup Go
341- uses : actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0
318+ - name : Install gh-aw
319+ uses : github/gh-aw- actions/setup-cli@f52802884d655622f0a2dfd6d6a2250983c95523 # v0.68.7
342320 with :
343- go-version-file : go.mod
344- cache : true
345-
346- - name : Build gh-aw
347- run : make build
321+ version : v0.68.7
348322
349323 - name : Validate workflows and file issue on findings
350- uses : actions/github-script@373c709c69115d41ff229c7e5df9f8788daa9553 # v9
324+ uses : actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9
351325 env :
352- GH_AW_CMD_PREFIX : ./gh- aw
326+ GH_AW_CMD_PREFIX : gh aw
353327 with :
354328 github-token : ${{ secrets.GITHUB_TOKEN }}
355329 script : |
356330 const { setupGlobals } = require('${{ runner.temp }}/gh-aw/actions/setup_globals.cjs');
357331 setupGlobals(core, github, context, exec, io, getOctokit);
358332 const { main } = require('${{ runner.temp }}/gh-aw/actions/run_validate_workflows.cjs');
359333 await main();
360-
361- compile-workflows :
362- if : ${{ (!(github.event.repository.fork)) && (github.event_name != 'workflow_dispatch' && github.event_name != 'workflow_call' || inputs.operation == '') }}
363- runs-on : ubuntu-slim
364- permissions :
365- contents : read
366- issues : write
367- steps :
368- - name : Checkout repository
369- uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
370- with :
371- persist-credentials : false
372-
373- - name : Setup Go
374- uses : actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0
375- with :
376- go-version-file : go.mod
377- cache : true
378-
379- - name : Build gh-aw
380- run : make build
381-
382- - name : Compile workflows
383- run : |
384- ./gh-aw compile --validate --validate-images --verbose
385- echo "✓ All workflows compiled successfully"
386-
387- - name : Setup Scripts
388- uses : ./actions/setup
389- with :
390- destination : ${{ runner.temp }}/gh-aw/actions
391-
392- - name : Check for out-of-sync workflows and create issue if needed
393- uses : actions/github-script@373c709c69115d41ff229c7e5df9f8788daa9553 # v9
394- with :
395- script : |
396- const { setupGlobals } = require('${{ runner.temp }}/gh-aw/actions/setup_globals.cjs');
397- setupGlobals(core, github, context, exec, io, getOctokit);
398- const { main } = require('${{ runner.temp }}/gh-aw/actions/check_workflow_recompile_needed.cjs');
399- await main();
400-
401- secret-validation :
402- if : ${{ (!(github.event.repository.fork)) && (github.event_name != 'workflow_dispatch' && github.event_name != 'workflow_call' || inputs.operation == '') }}
403- runs-on : ubuntu-slim
404- permissions :
405- contents : read
406- steps :
407- - name : Checkout actions folder
408- uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
409- with :
410- sparse-checkout : |
411- actions
412- persist-credentials : false
413-
414- - name : Setup Node.js
415- uses : actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4.1.0
416- with :
417- node-version : ' 22'
418-
419- - name : Setup Scripts
420- uses : ./actions/setup
421- with :
422- destination : ${{ runner.temp }}/gh-aw/actions
423-
424- - name : Validate Secrets
425- uses : actions/github-script@373c709c69115d41ff229c7e5df9f8788daa9553 # v9
426- env :
427- # GitHub tokens
428- GH_AW_GITHUB_TOKEN : ${{ secrets.GH_AW_GITHUB_TOKEN }}
429- GH_AW_GITHUB_MCP_SERVER_TOKEN : ${{ secrets.GH_AW_GITHUB_MCP_SERVER_TOKEN }}
430- GH_AW_PROJECT_GITHUB_TOKEN : ${{ secrets.GH_AW_PROJECT_GITHUB_TOKEN }}
431- GH_AW_COPILOT_TOKEN : ${{ secrets.GH_AW_COPILOT_TOKEN }}
432- # AI Engine API keys
433- ANTHROPIC_API_KEY : ${{ secrets.ANTHROPIC_API_KEY }}
434- OPENAI_API_KEY : ${{ secrets.OPENAI_API_KEY }}
435- BRAVE_API_KEY : ${{ secrets.BRAVE_API_KEY }}
436- # Integration tokens
437- NOTION_API_TOKEN : ${{ secrets.NOTION_API_TOKEN }}
438- with :
439- script : |
440- const { setupGlobals } = require('${{ runner.temp }}/gh-aw/actions/setup_globals.cjs');
441- setupGlobals(core, github, context, exec, io, getOctokit);
442- const { main } = require('${{ runner.temp }}/gh-aw/actions/validate_secrets.cjs');
443- await main();
444-
445- - name : Upload secret validation report
446- if : always()
447- uses : actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
448- with :
449- name : secret-validation-report
450- path : secret-validation-report.md
451- retention-days : 30
452- if-no-files-found : warn
0 commit comments