chore: upgrade all workflows to gh-aw v0.75.4#3792
Conversation
- Run gh aw fix --write: moves step-run ${{ }} expressions into env
bindings (template injection prevention) for 3 workflows
- Recompile all 35 workflows with compiler v0.75.4
- Update agent.md to reference v0.75.4 URLs and new routing capabilities
(asciicharts, token-optimization, patterns guides)
- Update smoke-claude test to match new gh-aw-actions/setup SHA
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
✅ Coverage Check PassedOverall Coverage
📁 Per-file Coverage Changes (1 files)
Coverage comparison generated by |
There was a problem hiding this comment.
Pull request overview
Upgrades the repository’s agentic GitHub Actions workflows to gh-aw compiler v0.75.4, including regenerated .lock.yml outputs and targeted codemod changes that move ${{ }} expressions out of shell scripts to reduce template-injection risk.
Changes:
- Recompiled multiple workflow
.lock.ymlfiles with compiler v0.75.4 (updated pinned action SHAs / metadata). - Codemod updates to
.mdworkflow sources to bind expressions viaenv:instead of interpolating them directly inrun:scripts. - Updated CI assertion(s) and action pin metadata to match the new gh-aw-actions/setup SHA/version.
Show a summary per file
| File | Description |
|---|---|
| scripts/ci/smoke-claude-workflow.test.ts | Updates expected gh-aw-actions/setup pinned SHA/version assertions for v0.75.4. |
| .github/workflows/smoke-otel-tracing.lock.yml | Regenerated lock workflow with v0.75.4 metadata and updated setup/action pins and runtime env. |
| .github/workflows/smoke-gemini.lock.yml | Regenerated lock workflow with updated setup/action pins and regenerated sections. |
| .github/workflows/smoke-copilot.lock.yml | Regenerated lock workflow with updated setup/action pins and updated agent execution wiring. |
| .github/workflows/smoke-claude.md | Moves ${{ }} usage from shell into env: bindings to avoid expression interpolation in run:. |
| .github/workflows/security-guard.md | Moves ${{ }} usage from shell into env: bindings for output setting. |
| .github/workflows/refactoring-scanner.lock.yml | Regenerated lock workflow with updated setup/action pins and regenerated sections. |
| .github/workflows/duplicate-code-detector.lock.yml | Regenerated lock workflow with updated setup/action pins and regenerated sections. |
| .github/workflows/doc-maintainer.md | Moves ${{ }} usage from shell conditionals into env: bindings. |
| .github/workflows/dependency-security-monitor.lock.yml | Regenerated lock workflow with updated setup/action pins and regenerated sections. |
| .github/workflows/copilot-token-usage-analyzer.lock.yml | Regenerated lock workflow with updated setup/action pins and updated compiler version references. |
| .github/workflows/agentics-maintenance.yml | Updates setup/setup-cli pins and header generator version to v0.75.4. |
| .github/aw/actions-lock.json | Updates pinned gh-aw-actions entries for v0.75.4 and adds gh-aw/actions/setup-cli v0.75.4. |
| .github/agents/agentic-workflows.agent.md | Updates routing/docs links to v0.75.4 and adds new routing entries (asciicharts/token-optimization/patterns). |
Copilot's findings
Tip
Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
- Files reviewed: 30/42 changed files
- Comments generated: 2
| sudo -E awf --config "${RUNNER_TEMP}/gh-aw/awf-config.json" --container-workdir "${GITHUB_WORKSPACE}" --mount "${RUNNER_TEMP}/gh-aw:${RUNNER_TEMP}/gh-aw:ro" --mount "${RUNNER_TEMP}/gh-aw:/host${RUNNER_TEMP}/gh-aw:ro" --env-all --exclude-env COPILOT_GITHUB_TOKEN --exclude-env GITHUB_MCP_SERVER_TOKEN --exclude-env MCP_GATEWAY_API_KEY --log-level info --proxy-logs-dir /tmp/gh-aw/sandbox/firewall/logs --audit-dir /tmp/gh-aw/sandbox/firewall/audit --enable-host-access --allow-host-ports 80,443,8080 --skip-pull \ | ||
| -- /bin/bash -c 'export PATH="${RUNNER_TEMP}/gh-aw/mcp-cli/bin:$PATH" && export PATH="$(find /opt/hostedtoolcache /home/runner/work/_tool -maxdepth 5 -type d -name bin 2>/dev/null | tr '\''\n'\'' '\'':'\'')$PATH"; [ -n "$GOROOT" ] && export PATH="$GOROOT/bin:$PATH" || true && GH_AW_NODE_EXEC="${GH_AW_NODE_BIN:-}"; if [ -z "$GH_AW_NODE_EXEC" ] || [ ! -x "$GH_AW_NODE_EXEC" ]; then GH_AW_NODE_EXEC="$(command -v node 2>/dev/null || true)"; fi; if [ -z "$GH_AW_NODE_EXEC" ]; then echo "node runtime missing on this runner — check runtimes.node in workflow YAML" >&2; exit 127; fi; "$GH_AW_NODE_EXEC" ${RUNNER_TEMP}/gh-aw/actions/copilot_harness.cjs /usr/local/bin/copilot --add-dir /tmp/gh-aw/ --log-level all --log-dir /tmp/gh-aw/sandbox/agent/logs/ --disable-builtin-mcps --no-ask-user --allow-all-tools --allow-all-paths --add-dir "${GITHUB_WORKSPACE}" --prompt-file /tmp/gh-aw/aw-prompts/prompt.txt' 2>&1 | tee -a /tmp/gh-aw/agent-stdio.log |
| env: | ||
| EXPR_GITHUB_EVENT_NAME: ${{ github.event_name }} | ||
| EXPR_GITHUB_RUN_ID: ${{ github.run_id }} | ||
| EXPR_b14517fc: ${{ github.event.pull_request.number || '' }} | ||
| run: | |
Remove sandbox.agent.version pins (v0.25.29/v0.25.41/v0.25.51) from all 35 workflow .md files. The compiler now resolves to the latest available version (v0.25.53) instead of a hardcoded version that may not exist in the registry. This fixes the CI 404 error when install_awf_binary.sh tries to download a version that hasn't been published to the release artifacts. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Apply postprocess-smoke-workflows.ts to replace 'Install AWF binary' download steps with local npm ci + npm run build steps. This ensures CI tests the repo's own code instead of a released binary, avoiding 404 errors when pinned versions don't exist in releases. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
The Tavily MCP server bearer token has expired, causing the MCP Gateway to report unhealthy status and Codex to crash on startup with exit code 1 after 4 retry attempts. Remove the tavily import and associated test requirement until the token is rotated. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Smoke Test (Claude): ✅ PASS
All checks passed.
|
|
Smoke Test: Copilot BYOK — @lpcox
Running in BYOK offline mode ( Overall: PASS
|
🔬 Smoke Test: API Proxy OpenTelemetry Tracing
All scenarios pass. ✅
|
🔍 Smoke Test Results
Overall: FAIL — pre-computed smoke data was not passed to this step. cc @lpcox
|
|
Smoke test results: ❌ GitHub connectivity, ❌ PR list, ✅ File write, ✅ Bash tool. FAIL. Warning Firewall blocked 1 domainThe following domain was blocked by the firewall during workflow execution:
network:
allowed:
- defaults
- "localhost"See Network Configuration for more information.
|
Chroot Smoke Test Results
Overall: ❌ Not all versions match — Python and Node.js differ between host and chroot environments.
|
🏗️ Build Test Suite Results
Overall: 8/8 ecosystems passed — ✅ PASS
|
Smoke Test: GitHub Actions Services Connectivity
Overall: FAIL —
|
Summary
Upgrades all 35 agentic workflows from compiler v0.74.4/v0.74.8 to v0.75.4.
Changes
Codemod fixes (
gh aw fix --write):doc-maintainer.md: Move 2 step-run${{ }}expressions intoenv:bindingssecurity-guard.md: Move 1 step-run expression intoenv:bindingsmoke-claude.md: Move step-run expressions intoenv:bindingsThese changes prevent template injection by ensuring GitHub Actions expressions are never interpolated directly in shell code.
Recompiled lock files (35 workflows):
gh-aw-actions/setuppinned SHA to v0.75.4Agent routing updates (
.github/agents/agentic-workflows.agent.md):Test update:
scripts/ci/smoke-claude-workflow.test.ts: Updated SHA assertion to match v0.75.4