Skip to content

fix(ci): Fix GAR publish secrets and drop robot token - #10

Merged
stavros-wb merged 2 commits into
masterfrom
fix/publish-gar-environment
Nov 30, 2026
Merged

stavros-wb merged 2 commits into
masterfrom
fix/publish-gar-environment

Conversation

@stavros-wb

@stavros-wb stavros-wb commented Nov 30, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

  • Add environment: master-workable-build to the publish-npm job.
  • Push the version bump with the built-in GITHUB_TOKEN, not SRE_TOOLS_GIT_ROBOT_TOKEN.

Why

  • SYS-6138 moved NODE_ARTIFACTORY_REGISTRY and NODE_ARTIFACTORY_PASSWORD into the master-workable-build environment. A job that does not name the environment gets empty secrets.
  • SRE_TOOLS_GIT_ROBOT_TOKEN is deprecated. The job already has contents: write, so GITHUB_TOKEN can push the bump commit and tag. master has no branch protection. Workable/keiko uses the same pattern.
  • The last "Publish to GAR" run failed at git push with an empty robot token.

Notes

  • A push made with GITHUB_TOKEN does not start other workflows, so CI does not run on the bump commit.

Test plan

  • Merge, then run "Publish to GAR" from master with patch.
  • Confirm the bump commit and v12.0.6 tag land on master.
  • Confirm @workable/evtstore@12.0.6 is in GAR.

🤖 Generated with Claude Code

stavros-wb and others added 2 commits November 30, 2026 18:37
The publish secrets now live in the master-workable-build
environment (SYS-6138). Without this, the job gets empty secrets
and fails at git push.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
SRE_TOOLS_GIT_ROBOT_TOKEN is deprecated. Use the built-in
GITHUB_TOKEN (contents: write) through the checkout credentials,
like Workable/keiko does.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@stavros-wb stavros-wb changed the title fix(ci): Use master-workable-build environment for GAR publish fix(ci): Fix GAR publish secrets and drop robot token Nov 30, 2026
@stavros-wb
stavros-wb merged commit afb75ce into master Nov 30, 2026
2 checks passed
@stavros-wb
stavros-wb deleted the fix/publish-gar-environment branch December 1, 2026 11:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant