Skip to content

fix: read GitHub App secrets from npm-release environment - #6

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

fix: read GitHub App secrets from npm-release environment#6
ekim-amplitude merged 1 commit into
mainfrom
fix/release-please-env-secrets

Conversation

@ekim-amplitude

Copy link
Copy Markdown
Collaborator

Summary

release-please still fails with appId option is required because AMPLITUDE_DEV_EXP_* are environment secrets on npm-release, not org/repo secrets (confirmed: Amplitude-TypeScript npm-release has them; developer-cli npm-release has 0).

This adds environment: npm-release to the release-please job (publish already had it).

Infra action still needed

Copy these environment secrets onto amplitude/developer-cli → Settings → Environments → npm-release (same values as Amplitude-TypeScript):

  • AMPLITUDE_DEV_EXP_APP_ID
  • AMPLITUDE_DEV_EXP_PRIVATE_KEY

Trusted Publishing + npm OIDC is already configured; this unblocks the GitHub App token for release-please PRs.

After merge + secrets

  1. Re-run release-please on main — app token step should show app-id: ***
  2. Merge the Release PR (expect 0.2.0)
  3. Publish job runs in npm-release → npm beta

Made with Cursor

AMPLITUDE_DEV_EXP_* are environment secrets (see Amplitude-TypeScript),
not repo/org secrets. Attach release-please job to npm-release so the app
token step can resolve them once infra copies the values in.

Co-authored-by: Cursor <cursoragent@cursor.com>
@ekim-amplitude
ekim-amplitude merged commit f44cb41 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