You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Link to the gh-aw PR: github/gh-aw#44500 — Allow shared workflow partials to define and merge sandbox.agent.mounts
This PR enables shared workflow partials to carry sandbox.agent.mounts entries, which are merged (with deduplication) into the consuming main workflow at compile time. Previously, partials could not declare sandbox config. No existing test exercises this merge behaviour.
Safe output: create-issue (simple output to confirm the workflow ran successfully)
Variant: standard
Minimal test prompt sketch
Create a shared partial .github/workflows/shared/mounts-partial.md that declares sandbox.agent.mounts with one bind mount. The main workflow imports it and declares its own overlapping mount. The agent creates a GitHub issue confirming it ran. The test asserts the compiled lock file merges both mount declarations without duplication.
New fixtures or secrets needed
A new shared partial file in .github/workflows/shared/ of the githubnext/gh-aw-test repo is needed. No new secrets required.
Notes
This is a compiler/merge behaviour test — the assertion is on the compiled .lock.yml (mounts deduplicated) plus runtime success. Overlaps conceptually with test-copilot-inline-sub-agents.md but exercises a different frontmatter surface.
Warning
Firewall blocked 1 domain
The following domain was blocked by the firewall during workflow execution:
awmgmcpg
To allow these domains, add them to the network.allowed list in your workflow frontmatter:
Motivation
Link to the gh-aw PR: github/gh-aw#44500 — Allow shared workflow partials to define and merge
sandbox.agent.mountsThis PR enables shared workflow partials to carry
sandbox.agent.mountsentries, which are merged (with deduplication) into the consuming main workflow at compile time. Previously, partials could not declare sandbox config. No existing test exercises this merge behaviour.Proposed test
test-copilot-sandbox-mounts-from-partial.mdworkflow_dispatchcreate-issue(simple output to confirm the workflow ran successfully)Minimal test prompt sketch
Create a shared partial
.github/workflows/shared/mounts-partial.mdthat declaressandbox.agent.mountswith one bind mount. The main workflow imports it and declares its own overlapping mount. The agent creates a GitHub issue confirming it ran. The test asserts the compiled lock file merges both mount declarations without duplication.New fixtures or secrets needed
A new shared partial file in
.github/workflows/shared/of thegithubnext/gh-aw-testrepo is needed. No new secrets required.Notes
This is a compiler/merge behaviour test — the assertion is on the compiled
.lock.yml(mounts deduplicated) plus runtime success. Overlaps conceptually withtest-copilot-inline-sub-agents.mdbut exercises a different frontmatter surface.Warning
Firewall blocked 1 domain
The following domain was blocked by the firewall during workflow execution:
awmgmcpgSee Network Configuration for more information.