Skip to content

ci: add manual public-npm release workflow (OIDC trusted publishing) - #5

Merged
vigubikReply merged 1 commit into
mainfrom
dev/publish-public
Jul 23, 2026
Merged

ci: add manual public-npm release workflow (OIDC trusted publishing)#5
vigubikReply merged 1 commit into
mainfrom
dev/publish-public

Conversation

@vigubikReply

Copy link
Copy Markdown
Contributor

Adds .github/workflows/publish-public.yml — a manual promotion of a tested tag to public npm (reply-cli).

  • workflow_dispatch input: the tag to promote (e.g. v0.3.0).
  • OIDC trusted publishing — no NPM_TOKEN; publishes with provenance.
  • Rebuilds from the tag, retargets the package name to unscoped reply-cli, publishes, then flips that tag's GitHub Release to full/latest.
  • Two gates: manual dispatch + the npm-public environment (required reviewers: @reply-team/release-mergers, restricted to main).

The workflow filename (publish-public.yml) and environment (npm-public) are fixed by the npm trusted-publisher config and must not change.

Internal auto-release is unaffected (this is ci:, no version bump).

Ref: REPLY-51236

Promotes a chosen tag to public reply-cli via workflow_dispatch.

Rebuilds from the tag, publishes with provenance (OIDC, no token).

Flips the GitHub Release to full/latest; gated by the npm-public environment.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@vigubikReply
vigubikReply enabled auto-merge July 23, 2026 20:24
@vigubikReply
vigubikReply disabled auto-merge July 23, 2026 20:24
@vigubikReply
vigubikReply merged commit 4bf28dc into main Jul 23, 2026
6 checks passed
@vigubikReply
vigubikReply deleted the dev/publish-public branch July 23, 2026 20:24
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