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
Commit 6ab8f22
Browse filesBrowse the repository at this point in the historyBrowse files
refactor(install): drop the gh presence check, hosted runners always have it
GitHub-hosted runners ship gh; only a self-hosted runner can lack it, and
there the attestation step fails anyway. The failure message now carries
that hint instead of a separate pre-check.
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_018xYa7m3qup5wyN5MaXFgf6
Copy file name to clipboardExpand all lines: action.yml
+1-5Lines changed: 1 addition & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -83,13 +83,9 @@ runs:
83
83
84
84
# Verify the commit-check wheel's build provenance (PyGithub and the
85
85
# transitive wheels are pinned but not attested; see README "Runner requirements").
86
-
if ! command -v gh >/dev/null 2>&1; then
87
-
echo "::error::gh CLI not found; it is required to verify the commit-check wheel attestation. Install it on this runner (preinstalled on GitHub-hosted runners)."
88
-
exit 1
89
-
fi
90
86
WHEEL=$(ls "$WORK"/wheels/commit_check-*.whl) # exactly one: pip download of a == pin
91
87
if ! gh attestation verify "$WHEEL" -R commit-check/commit-check; then
92
-
echo "::error::Attestation verification failed for $(basename "$WHEEL"). Aborting installation."
88
+
echo "::error::Attestation verification failed for $(basename "$WHEEL") (self-hosted runners need the gh CLI). Aborting installation."
0 commit comments