ci: use GitHub App for Release Please - #334
Open
jbeckwith-oai wants to merge 1 commit into
Open
Conversation
jbeckwith-oai
force-pushed
the
codex/use-github-app-release-token
branch
from
August 4, 2026 01:09
413b6cc to
4861b42
Compare
There was a problem hiding this comment.
Pull request overview
Updates the release automation workflow to authenticate Release Please using a GitHub App installation token (minted from the existing release environment) instead of GITHUB_TOKEN, so that release-branch pushes and release PR events can trigger downstream workflows as expected.
Changes:
- Add a step to mint a repository-scoped GitHub App installation token from the
releaseenvironment. - Pass the GitHub App token to
googleapis/release-please-actionand disable defaultGITHUB_TOKENpermissions for the release job. - Preserve the existing publish job behavior (RubyGems publish + retry flow unchanged).
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
jbeckwith-oai
marked this pull request as ready for review
August 4, 2026 01:10
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
openai-sdksGitHub App from the existingreleaseenvironmentGITHUB_TOKENpermissionsWhy
Release Please currently authenticates with
GITHUB_TOKEN. Events created with that token do not normally start downstream workflows. A GitHub App installation token triggers the normal push and pull-request workflows for the generated release branch.This is the Ruby equivalent of openai/openai-python#3577. Ruby does not have Python's manual release-PR workflow-dispatch workaround, so no CI dispatch cleanup is needed here.
Repository configuration
release, restricted tomainwith no required-reviewer gateOPENAI_SDKS_APP_CLIENT_IDOPENAI_SDKS_APP_PRIVATE_KEY(the secret is not currently present in the Ruby repository'sreleaseenvironment)Validation
actionlintv1.7.7.github/workflows/create-releases.ymlgit diff --check