feat: update agentic workflows to v0.47.0 and add smoke-gemini#974
feat: update agentic workflows to v0.47.0 and add smoke-gemini#974
Conversation
Co-authored-by: Mossaka <5447827+Mossaka@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
Updates this repository’s GitHub Agentic Workflows (gh-aw) to v0.47.0, applies the v0.47.0 strict-mode secret handling changes, and adds a new Gemini engine smoke test workflow.
Changes:
- Upgraded agentic workflow sources and regenerated lock files for gh-aw v0.47.0 (including newer prompt/safe-output plumbing).
- Migrated build-test workflows off top-level
env: GH_TOKENsecrets totools.github.github-token. - Added
smoke-geminiworkflow and wired its lock file into the post-processing script.
Reviewed changes
Copilot reviewed 29 out of 47 changed files in this pull request and generated 5 comments.
Show a summary per file
| File | Description |
|---|---|
scripts/ci/postprocess-smoke-workflows.ts |
Adds smoke-gemini.lock.yml to the set of lock files that get CI post-processing transforms. |
.github/workflows/smoke-gemini.md |
New Gemini engine smoke workflow definition (source). |
.github/workflows/smoke-copilot.md |
Moves deprecated roles: to on.roles and fixes trailing indentation/formatting. |
.github/workflows/smoke-codex.md |
Moves deprecated roles: to on.roles and fixes trailing indentation/formatting. |
.github/workflows/smoke-codex.lock.yml |
Regenerated lock file for v0.47.0; includes new prompt generation steps and runtime config changes. |
.github/workflows/smoke-claude.md |
Moves deprecated roles: to on.roles and fixes trailing indentation/formatting. |
.github/workflows/smoke-claude.lock.yml |
Regenerated lock file for v0.47.0; includes new prompt generation steps and runtime config changes. |
.github/workflows/smoke-chroot.md |
Moves deprecated roles: to on.roles and fixes trailing indentation/formatting. |
.github/workflows/security-guard.md |
Moves deprecated roles: to on.roles and fixes trailing indentation/formatting. |
.github/workflows/plan.md |
Updates comment-content templating expression to align with v0.47.0 compilation output. |
.github/workflows/cli-flag-consistency-checker.lock.yml |
Regenerated lock file for v0.47.0; includes updated engine/runtime plumbing. |
.github/workflows/ci-cd-gaps-assessment.lock.yml |
Regenerated lock file for v0.47.0; includes updated engine/runtime plumbing. |
.github/workflows/build-test-rust.md |
Strict-mode secret migration to tools.github.github-token and on.roles migration. |
.github/workflows/build-test-rust.lock.yml |
Regenerated lock file for v0.47.0; incorporates strict-mode changes and new compiled structure. |
.github/workflows/build-test-node.md |
Strict-mode secret migration to tools.github.github-token and on.roles migration. |
.github/workflows/build-test-java.md |
Strict-mode secret migration to tools.github.github-token and on.roles migration. |
.github/workflows/build-test-go.md |
Strict-mode secret migration to tools.github.github-token and on.roles migration. |
.github/workflows/build-test-dotnet.md |
Strict-mode secret migration to tools.github.github-token and on.roles migration. |
.github/workflows/build-test-deno.md |
Strict-mode secret migration to tools.github.github-token and on.roles migration. |
.github/workflows/build-test-cpp.md |
Strict-mode secret migration to tools.github.github-token and on.roles migration. |
.github/workflows/build-test-bun.md |
Strict-mode secret migration to tools.github.github-token and on.roles migration. |
.github/workflows/agentics-maintenance.yml |
Regenerated maintenance workflow for v0.47.0 action pins/structure. |
.github/agents/agentic-workflows.agent.md |
Updates the custom agent file metadata and linked gh-aw docs to v0.47.0. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| on: | ||
| schedule: every 12h | ||
| workflow_dispatch: | ||
| pull_request: | ||
| types: [opened, synchronize, reopened] |
There was a problem hiding this comment.
on.roles: all is missing from this workflow, while the other smoke workflows include it. Without it, the workflow will fall back to the default role allowlist, which may unintentionally prevent PR triggers (especially for contributors with only read access). Add roles: all under the on: block to match the other smoke workflows.
| @@ -1,6 +1,6 @@ | |||
| --- | |||
| description: GitHub Agentic Workflows (gh-aw) - Create, debug, and upgrade AI-powered workflows with intelligent prompt routing | |||
There was a problem hiding this comment.
The frontmatter field disable-model-invocation is not used anywhere else in this repo, so it’s unclear it will be recognized by the custom agent spec loader. Previously this file used infer: false (which is used throughout the repo’s gh-aw prompt files), so this change may be a no-op and could re-enable behavior you intended to disable. Consider reverting to infer: false (or keeping both keys) unless you can confirm disable-model-invocation is a supported field for .github/agents/*.md files.
| description: GitHub Agentic Workflows (gh-aw) - Create, debug, and upgrade AI-powered workflows with intelligent prompt routing | |
| description: GitHub Agentic Workflows (gh-aw) - Create, debug, and upgrade AI-powered workflows with intelligent prompt routing | |
| infer: false |
| - name: Setup Scripts | ||
| uses: github/gh-aw/actions/setup@1c80b7ec8f557e1304e764069803d66a0092cebc # v0.43.20 | ||
| uses: github/gh-aw/actions/setup@v0.47.0 | ||
| with: | ||
| destination: /opt/gh-aw/actions |
There was a problem hiding this comment.
github/gh-aw/actions/setup is now referenced by a mutable tag (@v0.47.0) rather than a commit SHA. Tags can be retagged, which weakens supply-chain guarantees and may violate strict-mode expectations around action pinning. Prefer pinning this action to an immutable commit SHA (and keep the version comment if helpful).
| "--network", | ||
| "host", | ||
| "--security-opt", | ||
| "seccomp=unconfined", | ||
| "--ipc=host", |
There was a problem hiding this comment.
The Playwright MCP container is started with --security-opt seccomp=unconfined and --ipc=host, which significantly increases container privileges and expands the security boundary (especially relevant in this repo). If these flags are required for Playwright/Chromium stability, add an inline comment explaining why; otherwise, prefer a more restrictive configuration (e.g., avoid seccomp=unconfined).
| "--init", | ||
| "--network", | ||
| "host" | ||
| "host", | ||
| "--security-opt", | ||
| "seccomp=unconfined", | ||
| "--ipc=host" | ||
| ], |
There was a problem hiding this comment.
The Playwright MCP container is started with --security-opt seccomp=unconfined and --ipc=host, which significantly increases container privileges and expands the security boundary. If these flags are required for Playwright/Chromium stability, add an inline comment explaining why; otherwise, prefer a more restrictive configuration (e.g., avoid seccomp=unconfined).
Upgrade all agentic workflows from v0.43.x to v0.47.0 and add a Gemini CLI smoke test.
v0.47.0 strict mode fix
v0.47.0 introduces a new strict mode validation that rejects secrets in the top-level
env:section. All 8build-test-*.mdworkflows were migrated:Workflow upgrade
gh aw upgradeapplied codemods (migrated deprecatedroles:→on.rolesin 14 workflows), updated action pins to v0.47.0, and recompiled all 29 lock filespostprocess-smoke-workflows.ts(local builds,--build-local, sparse-checkout removal)New smoke-gemini workflow
smoke-gemini.md— mirrorssmoke-codex.mdstructure withengine: geminipostprocess-smoke-workflows.tsfor CI transformationsWarning
Firewall rules blocked me from connecting to one or more addresses (expand for details)
I tried to connect to the following addresses, but was blocked by firewall rules:
https://api.github.com/repos/actions/checkout/releases/usr/bin/gh gh api /repos/actions/checkout/releases --jq .[].tag_name(http block)https://api.github.com/repos/actions/github-script/releases/usr/bin/gh gh api /repos/actions/github-script/releases --jq .[].tag_name(http block)https://api.github.com/repos/actions/setup-node/releases/usr/bin/gh gh api /repos/actions/setup-node/releases --jq .[].tag_name(http block)https://api.github.com/repos/actions/upload-artifact/releases/usr/bin/gh gh api /repos/actions/upload-artifact/releases --jq .[].tag_name(http block)https://api.github.com/repos/docker/build-push-action/releases/usr/bin/gh gh api /repos/docker/build-push-action/releases --jq .[].tag_name(http block)https://api.github.com/repos/docker/login-action/releases/usr/bin/gh gh api /repos/docker/login-action/releases --jq .[].tag_name(http block)https://api.github.com/repos/docker/setup-buildx-action/releases/usr/bin/gh gh api /repos/docker/setup-buildx-action/releases --jq .[].tag_name(http block)https://api.github.com/repos/github/gh-aw/git/ref/tags/v0.47.0/usr/bin/gh gh api /repos/github/gh-aw/git/ref/tags/v0.47.0 --jq .object.sha(http block)https://api.github.com/repos/github/gh-aw/releases/usr/bin/gh gh api /repos/github/gh-aw/releases --jq .[].tag_name(http block)https://api.github.com/repos/github/gh-aw/releases/latest/home/REDACTED/.local/share/gh/extensions/gh-aw/gh-aw /home/REDACTED/.local/share/gh/extensions/gh-aw/gh-aw upgrade(http block)https://api.github.com/repos/softprops/action-gh-release/releases/usr/bin/gh gh api /repos/softprops/action-gh-release/releases --jq .[].tag_name(http block)If you need me to access, download, or install something from one of these locations, you can either:
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.