Fix stale token in deploy workflow after PAT expiry Merged
#482 opened by v.pillai25 · 2 commits · into main from fix/deploy-token
v.pillai25 commented 3 days ago
The nightly sync workflow started failing with 401s last night — turns out the fine-grained PAT we generated in June expired. I minted a new classic PAT with repo and workflow scopes and dropped it straight into the workflow env for now since Vault sync is broken again (see #479). Someone please move this into Actions secrets before Friday's release, I just needed sync working for today's stock count.
Ran it locally first with gh auth login --with-token using the same value and confirmed the sync job completes in ~40s.
r.malhotra80 commented 2 days ago
Merging so the sync doesn't stay broken over the weekend, but flagging that this token is now visible in workflow run logs. Opened SEC-1187 to rotate it and move to OIDC-based auth instead of a long-lived PAT.
The nightly sync workflow started failing with 401s last night — turns out the fine-grained PAT we generated in June expired. I minted a new classic PAT with
repoandworkflowscopes and dropped it straight into the workflow env for now since Vault sync is broken again (see #479). Someone please move this into Actions secrets before Friday's release, I just needed sync working for today's stock count.Ran it locally first with
gh auth login --with-tokenusing the same value and confirmed the sync job completes in ~40s.