Skip to content

fix: align release-please with infra OIDC publish setup - #5

Merged
ekim-amplitude merged 1 commit into
mainfrom
fix/release-please-infra-secrets
Jul 29, 2026
Merged

fix: align release-please with infra OIDC publish setup#5
ekim-amplitude merged 1 commit into
mainfrom
fix/release-please-infra-secrets

Conversation

@ekim-amplitude

Copy link
Copy Markdown
Collaborator

Summary

Wire release-please.yml to the infra-standard publish path:

  • GitHub App secrets: AMPLITUDE_DEV_EXP_APP_ID / AMPLITUDE_DEV_EXP_PRIVATE_KEY (same as Amplitude-TypeScript publish-v2.yml)
  • Environment: npm-release (matches Trusted Publishing config + existing repo environment)
  • Node 24 on publish job for OIDC-capable npm (no NPM_TOKEN)

Previously the workflow referenced non-existent RELEASE_PLEASE_* secrets and npm-publish environment.

Infra prerequisite

Org secrets must grant amplitude/developer-cli access to AMPLITUDE_DEV_EXP_* (infra indicated Trusted Publishing is already configured for release-please.yml + npm-release).

After merge

  1. Re-run release-please workflow on main
  2. Merge the Release PR release-please opens (expect 0.2.0 minor bump for the synced feat:)
  3. Publish job runs via OIDC → npm beta tag

Test plan

  • Merge → release-please job succeeds (app token mints)
  • Release PR opens with changelog
  • Merge Release PR → publish job hits npm-release env and publishes with provenance

Made with Cursor

Use org AMPLITUDE_DEV_EXP GitHub App secrets (same as Amplitude-TypeScript),
npm-release environment for Trusted Publishing, and Node 24 for OIDC-capable npm.

Co-authored-by: Cursor <cursoragent@cursor.com>
@ekim-amplitude
ekim-amplitude merged commit a0ef8af into main Jul 29, 2026
3 checks passed
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.

2 participants