mirror of
https://github.com/heygen-com/hyperframes.git
synced 2026-11-18 16:00:07 +00:00
The publish job's checkout persisted its contents:write token in .git/config, where every later step, including the package install and build, could read it. Check out without persisting credentials and give the token only to "Create release tag", the one step that pushes. It authenticates its own git calls through step-scoped GIT_CONFIG_* env and masks the encoded value. The gh steps keep their own GH_TOKEN. The workflow test now covers the checkout flag, which steps may receive the token and under what name, the auth header the tag push actually carries, and that nothing is written to .git/config. — Rames Jusso Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>