Skip to content

ci: restrict publish workflow to prod - #203

Open
DeepakSingh80 wants to merge 1 commit into
developmentfrom
fix_publish_branch_guard_CU-86d4a6ppu
Open

DeepakSingh80 wants to merge 1 commit into
developmentfrom
fix_publish_branch_guard_CU-86d4a6ppu

Conversation

@DeepakSingh80

Copy link
Copy Markdown

Publish was dispatchable from any branch, so a partner-facing npm artifact could be pushed from an unreviewed branch. Adds a guard step that fails the job before checkout when github.ref_name is not prod.

Phase 1 T0.1 of the native SDK CI/CD runbook.

Refs: https://app.clickup.com/t/86d4a6ppu

🤖 Generated with Claude Code

Publish was dispatchable from any branch, so a partner-facing artifact
could be pushed from an unreviewed branch. Fail the job before checkout
when github.ref_name is not the release branch.

Refs: https://app.clickup.com/t/86d4a6ppu

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
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