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
{{ message }}
Repository navigation
gh is an undocumented prerequisite for installing AWF on self-hosted runners: "Install AWF binary" fails with "gh: command not found" (v1.2.2) #77498
gh is an undocumented prerequisite for installing AWF on a self-hosted runner. install_awf_binary.sh verifies the release with gh attestation verify, and neither the script, the compiled "Install AWF binary" step nor the self-hosted runner docs say that gh must be present. On a self-hosted runner image without gh the agent job fails. On GitHub-hosted runners gh is preinstalled, so the step passes there.
Environment
gh-aw
v1.2.2 (compiler and github/gh-aw-actions/setup); the same code path is in v1.2.3
topology
runner.topology: arc-dind, self-hosted runners on a runner group
engine
copilot (Copilot CLI 1.0.103 and 1.0.105 both reproduce)
runner
self-hosted image without gh on PATH
The same workflow compiled with v1.0.1 ran green on the same runner group.
release_integrity.sh: line 188: gh: command not found
Cause
actions/setup/sh/release_integrity.shverify_release_attestation runs gh attestation verify when attestation is required, with no command -v gh check. install_awf_binary.sh sources it and calls it for checksums.txt, release-identity.txt and the downloaded binary. v1.2.3 still calls gh attestation verify in that file (it adds handling for API quota exhaustion, not for a missing gh).
Activity