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
fix: Fallback to github.token when api-token is empty
When using only ssh-key (no api-token), GH_TOKEN was set to empty string,
causing gh CLI to refuse authentication instead of falling back to the
default GITHUB_TOKEN. This broke critical steps that use gh api:
- Parse existing PR URL
- Get changelog
- Update dependency (when filtering by GH release titles)
Changed all instances of:
GH_TOKEN: ${{ inputs.api-token }}
To:
GH_TOKEN: ${{ inputs.api-token || github.token }}
This ensures gh CLI always has valid authentication.
Fixes seer-by-sentry review comment:
#134 (comment)
0 commit comments