Skip to content

Commit d1b8565

Browse files
Mossakaclaude
andcommitted
fix: recompile workflows with gh-aw v0.42.11 and postprocess
The lock files were manually edited by Copilot instead of being generated through the proper gh-aw compile + postprocess pipeline. This caused all agent jobs to fail with TS18003 because sparse-checkout only fetched .github/.agents folders, missing src/ and package.json. Recompiled with gh-aw v0.42.11 and ran postprocess-smoke-workflows.ts. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 9161517 commit d1b8565

21 files changed

Lines changed: 1169 additions & 338 deletions

.github/workflows/agentics-maintenance.yml

Lines changed: 124 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
# \ /\ / (_) | | | | ( | | | | (_) \ V V /\__ \
1414
# \/ \/ \___/|_| |_|\_\|_| |_|\___/ \_/\_/ |___/
1515
#
16-
# This file was automatically generated by pkg/workflow/maintenance_workflow.go (v0.42.10). DO NOT EDIT.
16+
# This file was automatically generated by pkg/workflow/maintenance_workflow.go. DO NOT EDIT.
1717
#
1818
# To regenerate this workflow, run:
1919
# gh aw compile
@@ -46,8 +46,15 @@ jobs:
4646
issues: write
4747
pull-requests: write
4848
steps:
49+
- name: Checkout actions folder
50+
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6
51+
with:
52+
sparse-checkout: |
53+
actions
54+
persist-credentials: false
55+
4956
- name: Setup Scripts
50-
uses: github/gh-aw/actions/setup@v0.42.10
57+
uses: ./actions/setup
5158
with:
5259
destination: /opt/gh-aw/actions
5360

@@ -77,3 +84,118 @@ jobs:
7784
setupGlobals(core, github, context, exec, io);
7885
const { main } = require('/opt/gh-aw/actions/close_expired_pull_requests.cjs');
7986
await main();
87+
88+
compile-workflows:
89+
runs-on: ubuntu-slim
90+
permissions:
91+
contents: read
92+
issues: write
93+
steps:
94+
- name: Checkout repository
95+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
96+
with:
97+
persist-credentials: false
98+
99+
100+
- name: Setup Go
101+
uses: actions/setup-go@41dfa10bad2bb2ae585af6ee5bb4d7d973ad74ed # v5.1.0
102+
with:
103+
go-version-file: go.mod
104+
cache: true
105+
106+
- name: Build gh-aw
107+
run: make build
108+
109+
- name: Compile workflows
110+
run: |
111+
./gh-aw compile --validate --verbose
112+
echo "✓ All workflows compiled successfully"
113+
114+
- name: Setup Scripts
115+
uses: ./actions/setup
116+
with:
117+
destination: /opt/gh-aw/actions
118+
119+
- name: Check for out-of-sync workflows and create issue if needed
120+
uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0
121+
with:
122+
script: |
123+
const { setupGlobals } = require('/opt/gh-aw/actions/setup_globals.cjs');
124+
setupGlobals(core, github, context, exec, io);
125+
const { main } = require('/opt/gh-aw/actions/check_workflow_recompile_needed.cjs');
126+
await main();
127+
128+
zizmor-scan:
129+
runs-on: ubuntu-slim
130+
needs: compile-workflows
131+
permissions:
132+
contents: read
133+
steps:
134+
- name: Checkout repository
135+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
136+
137+
- name: Setup Go
138+
uses: actions/setup-go@41dfa10bad2bb2ae585af6ee5bb4d7d973ad74ed # v5.1.0
139+
with:
140+
go-version-file: go.mod
141+
cache: true
142+
143+
- name: Build gh-aw
144+
run: make build
145+
146+
- name: Run zizmor security scanner
147+
run: |
148+
./gh-aw compile --zizmor --verbose
149+
echo "✓ Zizmor security scan completed"
150+
151+
secret-validation:
152+
runs-on: ubuntu-slim
153+
permissions:
154+
contents: read
155+
steps:
156+
- name: Checkout actions folder
157+
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6
158+
with:
159+
sparse-checkout: |
160+
actions
161+
persist-credentials: false
162+
163+
- name: Setup Node.js
164+
uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4.1.0
165+
with:
166+
node-version: '22'
167+
168+
- name: Setup Scripts
169+
uses: ./actions/setup
170+
with:
171+
destination: /opt/gh-aw/actions
172+
173+
- name: Validate Secrets
174+
uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0
175+
env:
176+
# GitHub tokens
177+
GH_AW_GITHUB_TOKEN: ${{ secrets.GH_AW_GITHUB_TOKEN }}
178+
GH_AW_GITHUB_MCP_SERVER_TOKEN: ${{ secrets.GH_AW_GITHUB_MCP_SERVER_TOKEN }}
179+
GH_AW_PROJECT_GITHUB_TOKEN: ${{ secrets.GH_AW_PROJECT_GITHUB_TOKEN }}
180+
GH_AW_COPILOT_TOKEN: ${{ secrets.GH_AW_COPILOT_TOKEN }}
181+
# AI Engine API keys
182+
ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }}
183+
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
184+
BRAVE_API_KEY: ${{ secrets.BRAVE_API_KEY }}
185+
# Integration tokens
186+
NOTION_API_TOKEN: ${{ secrets.NOTION_API_TOKEN }}
187+
with:
188+
script: |
189+
const { setupGlobals } = require('/opt/gh-aw/actions/setup_globals.cjs');
190+
setupGlobals(core, github, context, exec, io);
191+
const { main } = require('/opt/gh-aw/actions/validate_secrets.cjs');
192+
await main();
193+
194+
- name: Upload secret validation report
195+
if: always()
196+
uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0
197+
with:
198+
name: secret-validation-report
199+
path: secret-validation-report.md
200+
retention-days: 30
201+
if-no-files-found: warn

.github/workflows/build-test-bun.lock.yml

Lines changed: 39 additions & 14 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.github/workflows/build-test-cpp.lock.yml

Lines changed: 39 additions & 14 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)