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 2d3c379
Browse filesBrowse the repository at this point in the historyBrowse files
Fix anonymous-mode and GHES token routing for all platforms
Thread 1&2 (linux/macos): guard gh api path with [[ -n \ ]] so anonymous callers fall through to the unauthenticated curl path instead of letting gh api fail on GitHub-hosted runners where gh is always installed.
Thread 3 (windows): build REST API base URL from GH_HOST so GHES environments resolve releases against the configured host instead of hard-coded api.github.com.
Thread 4 (action.yml): add GH_ENTERPRISE_TOKEN to all three step env blocks; GitHub CLI requires this variable (not GH_TOKEN) when talking to a non-github.com host.
0 commit comments