Skip to content

ci: set up gh-aw CLI and check agentic workflows compile - #8810

Open
joshblack wants to merge 1 commit into
mainfrom
ci/gh-aw-cli-setup
Open

joshblack wants to merge 1 commit into
mainfrom
ci/gh-aw-cli-setup

Conversation

@joshblack

@joshblack joshblack commented Nov 20, 2026 •

Copy link
Copy Markdown
Member

Closes #8789

Makes the gh aw CLI available to Copilot agents, adds a CI check that keeps compiled agentic workflows in sync with their sources, and groups gh-aw-actions Dependabot updates. This follows the setup in primer/agent-eval.

Changelog

New

  • agentic-workflows CI job runs gh aw compile --validate and fails if any compiled output (*.lock.yml, .github/aw, agentics-maintenance.yml, etc.) is out of date.
  • gh-aw Dependabot group for github/gh-aw-actions/*.

Changed

  • copilot-setup-steps.yml and copilot-code-review.yml install gh-aw v1.3.1 via github/gh-aw-actions/setup-cli.
  • Recompiled all agentic workflows with gh-aw v1.3.1. The lock files were previously compiled with a mix of v0.88.2, v0.92.0, and v1.0.1.

Removed

  • agentics-maintenance.yml. The v1.3.1 compiler deletes this file when no workflow uses expires, work queues, or steering, and none of ours do.

Rollout strategy

  • No rollout required

CI and agent setup changes only. No published packages are affected.

Testing & Reviewing

  • Check the regenerated *.lock.yml diffs. They come entirely from gh aw compile and pin github/gh-aw-actions/setup to v1.3.1 (dfe97a1).
  • When gh-aw is upgraded, update the setup-cli SHA and the version: input together. Otherwise the compile check will flag drift.

Install gh-aw in Copilot setup steps and code review workflows, add a CI
job that verifies compiled agentic workflows are up to date, group
gh-aw-actions Dependabot updates, and recompile workflows with gh-aw v1.3.1.

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
@joshblack
joshblack requested a review from a team as a code owner November 20, 2026 04:58
@joshblack joshblack added the skip changeset This change does not need a changelog label Nov 20, 2026
@joshblack
joshblack requested review from francinelucca and a balanced review from Copilot November 20, 2026 04:58
@changeset-bot

changeset-bot Bot commented Nov 20, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: fadb617

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔵 Needs a closer look

The compiler upgrade alters model routing, permissions, and artifact-security gates, while inaccessible upstream sources leave these runtime contracts needing human confirmation through compilation and representative workflow runs.

No open issues 🎉

What changed in this PR

This PR standardizes gh-aw tooling for Primer React’s automation and adds CI validation to keep compiled agentic workflows synchronized with their sources. No published packages are affected.

Changes:

  • Installs gh-aw v1.3.1 in Copilot setup workflows and adds compilation validation with generated-file drift detection.
  • Refreshes generated workflow output and action pins, and removes the maintenance workflow no longer required by the compiler.
  • Groups github/gh-aw-actions/* Dependabot updates.
File Description
.github/​workflows/​issue-triage.lock.yml Regenerates issue triage with gh-aw v1.3.1 runtime and safety updates.
.github/​workflows/​copilot-setup-steps.yml Installs gh-aw for Copilot coding agents.
.github/​workflows/​copilot-code-review.yml Installs gh-aw for Copilot code review.
.github/​workflows/​ci.yml Adds workflow compilation validation and generated-file drift checks.
.github/​workflows/​agentics-maintenance.yml Removes the unneeded generated maintenance workflow.
.github/​dependabot.yml Groups gh-aw action updates.
.github/​aw/​actions-lock.json Pins the generated setup action to v1.3.1.

Review effort: Balanced

This branch was successfully deployed

2 active deployments
storybook-preview-8810 — fadb6171 Deployed Nov 20, 2026 by github-actions[bot]
github-pages — fadb6171 Deployed Nov 20, 2026 by joshblack via deploy-preview #34467
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

integration-tests: skipped manually Changes in this PR do not require an integration test skip changeset This change does not need a changelog staff Author is a staff member

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[aw] Fix flaky tests on main: failed before agent execution started

3 participants