AntiPattern
GitHub Token Preference Mismatch
github-token-preference-mismatch
Bad credentials (401) occur because release workflows mix GitHub CLI auth sources—keyring accounts, GH_TOKEN/JOB-generated tokens, and checkout/ref remapping—causing the CLI to use an inactive or missing credential despite SSH and local logins working.