Enterprise Configuration

Use this page to assess deployment and runner applicability, and to configure GitHub Enterprise Server (GHES) and GitHub Enterprise Cloud (GHEC) compatibility options.

Choose the GitHub deployment and runner topology independently. GHEC organizations on github.com are not the same deployment as GHEC with data residency on *.ghe.com; neither is GHES. ARC describes runner infrastructure, not a GitHub deployment or an AI engine.

GitHub deploymentImplemented compatibilityEvidence and product boundary
github.com, including GHEC organizationsDefault GitHub and Copilot endpoint configurationPublished product requirements, quickstart, and hosted Linux CI environment. This does not promise every engine, feature, or runner combination.
GHEC with data residency (*.ghe.com)Tenant-specific endpoint routing and host/domain configurationEndpoint/configuration tests and tenant troubleshooting, not a live tenant validation matrix. End-to-end availability for the selected engine and services is unconfirmed here.
GHES (custom hostname)CLI host configuration, artifact/cache compatibility mode, and enterprise endpoint routingCompiler and endpoint tests, not a live GHES release matrix. End-to-end availability and a minimum GHES release are unconfirmed.
Runner topologyComponent prerequisitesEvidence and limitations
GitHub-hosted LinuxDocker/Compose and compatible Linux toolinggh-aw and AWF hosted CI; this is not enterprise-tenant or GHES validation. GitHub-hosted runners are not available for GHES.
Self-hosted Linux, shared runner/daemon filesystemDocker access; daemon-visible workspace, tool, and output pathsConfiguration path exists; hosted CI does not certify custom images, persistent state, or security policies. Validate the actual runner and selected engine.
Self-hosted ARC/DinD, split runner/daemon filesystemsPrivileged DinD sidecar, shared work volume, accessible Docker socket, DOCKER_HOST, and sysroot stagingImplemented split-filesystem path. AWF live split-DinD checks are not Kubernetes ARC validation. End-to-end ARC deployment/chart combinations remain unconfirmed; no minimum chart version is established here.

For official runner availability, see GitHub-hosted runners. For firewall-specific applicability, see AWF environment and runner applicability, enterprise routing, and ARC/DinD configuration. AWF links back to this reference for stack-level applicability.

End-to-end availability and owner confirmation

Section titled “End-to-end availability and owner confirmation”

An end-to-end statement must cover the gh-aw compiler, selected engine and inference provider, MCP gateway and configured MCP servers, AWF, Actions runner, and dependent GitHub services: Actions workflow syntax, tokens/permissions, artifacts, caches, APIs, and any enabled Copilot services. A passing compiler test or accepted AWF schema establishes none of the other components’ availability.

GitHub’s published GHEC product requirements require Actions, an AI-engine account, and an authenticated CLI; they do not provide a GHES/ARC component-version certification. No owner-confirmed release-by-release support commitment is documented for GHES, data-residency tenants, or Kubernetes ARC. Those combinations remain unconfirmed; configuration examples alone do not establish support. Selecting Claude, Codex, Pi, or a custom engine does not by itself resolve deployment/service compatibility. Consult engine contracts and authentication for the selected provider’s requirements.

The tracking issue records this confirmation gap. The AWF owner request covers firewall applicability, not gh-aw product support.

Component versions and validation evidence

Section titled “Component versions and validation evidence”

Record the compiler version, selected engine version/provider/model, MCP gateway and server image digests, AWF version/images, Actions runner version, Docker/Compose versions, GitHub deployment/release, and (for ARC) chart, Kubernetes, and pod configuration when validating a deployment. The generated .lock.yml records the compiled pins; upgrading the CLI alone does not update an already compiled workflow.

Component or featurePrerequisite and scopeEvidence
GHES artifact actionsCompatibility mode selects upload-artifact@v3.2.2 and download-artifact@v3.1.0. Their Node.js 24 runtime requires Actions Runner 2.327.1+; this is an action-runtime requirement, not a GHES product floor.Pin selection, generated artifact tests, and the upload / download action requirements.
GHES cache syntaxCompatibility mode omits compiler-generated cache-mode; the server must independently support the remaining Actions syntax and cache actions.Cache-mode compiler tests and the GitHub.com-only announcement below.
ARC/DinD fixesThe walkthrough’s historical feature floors are gh-aw v0.82.8 and AWF v0.27.22. The narrower compiler startup gate requires AWF v0.27.20+ for sysroot/chroot mount fixes; neither is certification of every newer release or an ARC/GHES combination.ARC required versions and compiler validation.
AWF and MCP gateway pinsThis revision defaults to AWF v0.29.21 and MCP gateway v0.5.15. Match documentation/schema to the version in your lock file, including overrides.Compiler version constants.
Docker and ComposeAWF documents Docker Engine 20.10+ and Compose v2.0+ installation baselines. Docker must be accessible to the runner and gateway; these baselines are not an exact-version CI matrix.AWF version prerequisites.
Copilot engineRequires applicable licensing, policy authorization, inference credentials, and connectivity to the deployment’s actual Copilot endpoint. Runner-registration credentials do not authorize inference.Copilot authentication and GHES prerequisites.
Optional runtimesCloud Hypervisor is preview and limited to GitHub-hosted Ubuntu x86_64 KVM runners, not self-hosted/ARC. NVX is preview, requires AWF v0.28.49+, explicit provisioning/attestation and Linux x86_64 KVM, and rejects ARC/DinD.Runtime restrictions and AWF optional runtimes.

The compiler’s artifact integration tests generate and inspect YAML; they do not run on a GHES appliance. AWF’s CI matrix distinguishes hosted Linux build/unit/live Docker checks from the provider-free live split-DinD harness. These are configured checks, not a claim that every run passed. They do not establish live GHES, data-residency tenant, or Kubernetes ARC validation.

ARC filesystem and AWF configuration scope

Section titled “ARC filesystem and AWF configuration scope”

For compiled workflows, runner.topology: arc-dind enables compiler-managed staging; runtime handling also probes a tcp:// DOCKER_HOST. The runner and daemon must share the work root at compatible absolute paths. Workspace, tool cache, home/output state, and mounts must be daemon-visible; the runner’s private /usr, /lib, /bin, and /sbin require sysroot staging. Rootless runner installation does not remove the DinD sidecar’s privileged: true requirement. See the ARC walkthrough and self-hosted host isolation checklist.

The pinned AWF published schema and source schema describe standalone AWF JSON, not gh-aw frontmatter. The current AWF applicability notices were merged after v0.29.7; links to AWF main provide current scope guidance, while these pinned schemas describe the v0.29.7 AWF release.

Standalone AWF fieldMeaning at the pinned release
runner.topologystandard or arc-dind; ARC enables sysroot staging and tool-cache warnings, not every other setting.
runner.sysrootImageOptional ARC sysroot image override; defaults to the release-tagged build-tools image staged into a named volume.
container.dockerHostDocker daemon URI; uses DOCKER_HOST when omitted.
container.dockerHostPathPrefixBind-source path translation for layouts that need it; intentionally omitted by gh-aw’s shared-work ARC path.
network.isolationDocker-network egress isolation without host sudo/NET_ADMIN; the pinned schema labels the field experimental.

gh-aw generates topology/isolation configuration and runtime Docker-endpoint arguments from frontmatter and environment; it intentionally omits path-prefix translation in its ARC config builder. Standalone AWF users must configure their own daemon-visible paths, staging/sysroot, Docker endpoint, and isolation as described in AWF ARC/DinD configuration. Do not copy AWF JSON fields into workflow frontmatter or infer product support from schema acceptance. AWF schema runtime options such as gVisor or Docker Sandboxes are not current gh-aw frontmatter runtime options.

For human sponsorship, independent code review, and evidence requirements, see Human Review and Compliance Patterns.

GitHub Enterprise Server (GHES) Compatibility

Section titled “GitHub Enterprise Server (GHES) Compatibility”

GHES instances running versions that predate @actions/artifact v2.0.0 support cannot use actions/upload-artifact@v4+ or actions/download-artifact@v4+. Attempting to run compiled workflows on these instances produces a GHESNotSupportedError.

gh-aw includes a GHES compatibility mode toggle (aw.json ghes or gh aw compile --ghes) for GHES releases that require the v3 artifact backend. Compatibility mode emits upload-artifact@v3.2.2 and download-artifact@v3.1.0; default GitHub.com compilation continues to use the latest artifact actions.

Compatibility mode also omits compiler-generated workflow and job cache-mode fields, including dry-run fields. The GitHub announcement establishes availability on GitHub.com, not a supported GHES release. Enable compatibility mode when the target server does not support this syntax, then recompile the workflows. This is the existing combined GHES switch, not an independent cache-only option or automatic server-version negotiation.

The earlier “GHES 3.21.x and earlier / Actions Runner 2.327.1+” guidance refers to the v3 artifact-backend path and the actions’ Node.js 24 runner requirement only. The 3.21.x boundary has not been independently confirmed by a versioned product commitment; upstream artifact-action GHES guidance currently says v4+ is not supported on GHES. It is not a tested GHES release matrix, a minimum GHES release, or an end-to-end support commitment. Determine artifact-backend and workflow-syntax compatibility from your server’s versioned Actions documentation; do not assume a later GHES release supports the v4 backend. Keep compatibility mode enabled when that backend or cache-mode syntax is unavailable.

Set ghes: true in .github/workflows/aw.json to apply GHES compatibility to every workflow compiled in the repository:

{
"ghes": true
}

Running gh aw init inside a GHES repository automatically detects the deployment and writes ghes: true to .github/workflows/aw.json. No manual configuration is required.

Pass --ghes to gh aw compile for a one-off compilation without modifying aw.json:

Terminal window
gh aw compile --ghes my-workflow.md

For gh CLI configuration, host authentication, and GH_HOST setup on GHES, see GitHub Enterprise Server Support in the CLI reference. For the GH_HOST requirement in org and enterprise update and upgrade rollouts, see Organization and enterprise rollouts.

Compilation resolves action tags to SHAs on github.com without sending enterprise credentials there. Set GH_AW_GITHUB_COM_TOKEN to a github.com token, or run gh auth login --hostname github.com, to avoid the 60-requests-per-hour anonymous limit; see GHE.com and GHES credentials.

Admission code is omitted by default. Set "admission": true in .github/workflows/aw.json and recompile to generate the check in activation and callback in conclusion repository-wide without changing either job’s permissions. An explicit repository setting takes precedence over on.admission in workflow frontmatter.

Configure an OIDC-authenticated admission authority using organization or repository Actions variables: GH_AW_DEFAULT_ADMISSION_URL, GH_AW_DEFAULT_ADMISSION_AUDIENCE, and GH_AW_DEFAULT_ADMISSION_ON_OUTAGE. An empty endpoint skips both steps at runtime, not their jobs or bootstrap, and does not remove id-token: write from either job. Activation author hooks and other conclusion steps share the job-wide permission; the agent does not acquire it through admission. For enterprise-wide rollout, provision organization variables in each enrolled organization. Deployments must explicitly configure their issuer, accepted claims, and trusted workflow identities on the authority.

Approved admission supersedes daily-AIC validation and supplies the primary and optional component allowances used by the existing runtime credit limits. Omitted optional allowances retain their configured component limits. Disabled admission and ignored transient outages retain daily validation and existing limits. The default outage policy is ignore; select and protect block when availability must not bypass admission. Variables remain cooperative defaults, not mandatory organization policy. Reusable workflow callers must grant id-token: write to the caller job; see enterprise environment controls for the permission envelope and rollout requirements. See also the admission service specification.

After artifact upload and any retry, the callback step in conclusion uses a fresh OIDC token to post bounded compact session metadata and artifact IDs to /api/conclusion on the authority’s origin. The compact profile excludes agent conversation and tool content and is bounded to 128 records/16 KiB JSONL; the whole request is capped at 64 KiB. The authority can resolve the unchanged full session through authenticated, invocation-verified artifact reads. Failed artifact publication does not suppress compact delivery, but the request carries no IDs if neither upload produced one. Delivery failures warn without changing completed workflow results, even with outage policy block; the authority remains responsible for secure, deduplicated processing and retention.

Enterprise administrators can distribute a broker endpoint through an organization Actions secret named GH_AW_TOKEN_BROKER_URL, with access limited to enrolled repositories. A repository Actions secret with the same name takes precedence over the organization secret. Actions variables are not used; migrate any existing variable value to the secret before recompiling workflows.

Workflows must explicitly opt in:

token-broker:
copilot-task: true

The compiler emits a runtime reference to the secret, not the endpoint value. Setting the secret alone does not enable the feature. After opting in and recompiling, changing the endpoint does not require recompilation.

The broker contract defines independent authorization for copilot-request (Copilot inference) and copilot-task (coding-agent task creation and issue assignment). Enable either capability or both. Brokered Copilot inference is supported in threat-detection and evals jobs; each exchange identifies the gh-aw inference provider ID (currently github). Main agent inference still requires a renewable AWF credential provider. Do not combine copilot-request with permissions.copilot-requests: write. The broker validates GitHub’s signature, issuer, expiration, audience, repository, workflow identity, and run claims against its enrollment policy; the audience is the configured broker URL. Broker-enabled consumer jobs run an unconditional post-step that requests invalidation scoped to the verified job identity. Restrict runner egress and protect the workflow and configuration that select this destination.

Broker-enabled jobs require id-token: write. Reusable workflow callers must grant that permission to the caller job. The runner must reach both the GitHub OIDC endpoint and the broker over HTTPS. Broker failures, including a missing endpoint, must not select a PAT, GitHub App token, or GITHUB_TOKEN as a fallback. Unrelated GitHub operations retain their existing authentication.

GitHub API consumers can independently select tools.github.token-broker: true or safe-outputs.token-broker: true as an alternative to section-level github-app or github-token. These settings exchange the separate github-app capability without distributing App signing credentials to the workflow. The deployment must authorize the installation, repositories, and permissions from verified job identity and enrolled policy. The request supplies no scopes or installation selector. Credentials are acquired separately in each consuming job; static GitHub consumers do not renew them automatically, so credential lifetime must cover the operation.

Rollout hardening:

  • Runners. Run broker-enabled jobs on GitHub-hosted runners, or on self-hosted runners that start clean for each job. A persistent runner can keep code left by an earlier job, including the agent job, and that code can steal a later job’s credentials. The compiler warns when a broker-enabled job selects a self-hosted runner, and the broker should deny runners it has not enrolled.
  • Reusable workflows. Broker policy must approve both the calling workflow and the reusable workflow, and scope credentials to the caller’s repository. Approving a reusable workflow alone would let any repository that calls it receive credentials.
  • Bot-authored pull requests. Unlike GITHUB_TOKEN, App installation tokens trigger workflows. A pull request opened with a brokered safe-output credential runs repository CI with code proposed by the agent. Require approval before workflows run on bot-authored pull requests, and protect the target branches. The broker denies exchanges from pull-request runs by default, but that does not protect other repository secrets.
  • Cleanup. The broker should also revoke credentials when it sees a job complete, because the cleanup step does not run if the runner is lost.

See Token Broker for an illustrated overview, and the Token Broker Specification for the server contract, identity validation, authorization, expiration, and conformance requirements. Admission remains independent: the admission outage policy does not apply to credential exchange.

For Copilot-specific prerequisites, licensing requirements, and firewall configuration on GHES, see Copilot Engine Prerequisites on GHES.