Skip to content

build: migrate release workflow to upstream release-please#1875

Open
jbeckwith-oai wants to merge 1 commit into
openai:masterfrom
jbeckwith-oai:codex/release-please-action-migration
Open

build: migrate release workflow to upstream release-please#1875
jbeckwith-oai wants to merge 1 commit into
openai:masterfrom
jbeckwith-oai:codex/release-please-action-migration

Conversation

@jbeckwith-oai
Copy link
Copy Markdown

Summary

Migrate the release workflow from stainless-api/trigger-release-please to the standard googleapis/release-please-action.

What changed

  • switched .github/workflows/create-releases.yml to manifest-mode googleapis/release-please-action
  • pinned the action to the latest upstream commit SHA we verified during the migration
  • split the workflow into separate release and publish jobs so broader release-please permissions are not granted during publish
  • updated the publish job guard to still run when release_created is true even if the release job later reports failure
  • updated release-please-config.json to point at the upstream googleapis/release-please schema

Why

  • removes the dependency on the Stainless-specific wrapper action
  • aligns this repo with the standard upstream release-please setup
  • preserves the existing release-PR model while tightening permission scope in the publish path
  • avoids a partial-failure case where a GitHub release could be created but npm/JSR publish would be skipped

Validation

  • validated .github/workflows/create-releases.yml parses as YAML
  • validated release-please-config.json parses as JSON
  • validated the config against the upstream release-please JSON schema
  • reviewed npm publish auth flow: the workflow is set up to use GitHub Actions OIDC under the hood via id-token: write; repo-side workflow code does not require an NPM_TOKEN in Actions

Notes

  • the workflow currently uses github.token for release-please, not a PAT
  • direct pushes to openai/openai-node workflow files are blocked by repo/org rulesets, so this PR is opened from a fork

@jbeckwith-oai jbeckwith-oai changed the title [codex] migrate release workflow to upstream release-please build: migrate release workflow to upstream release-please May 13, 2026
@jbeckwith-oai jbeckwith-oai marked this pull request as ready for review May 13, 2026 21:42
@jbeckwith-oai jbeckwith-oai requested a review from a team as a code owner May 13, 2026 21:42
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