Skip to content

ci: configure release-please with GitHub Actions authentication - #5222

Merged
jbeckwith-oai merged 5 commits into
mainfrom
codex/release-please
Sep 28, 2026
Merged

jbeckwith-oai merged 5 commits into
mainfrom
codex/release-please

Conversation

@jbeckwith-oai

@jbeckwith-oai jbeckwith-oai commented Sep 28, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

This pull request adds Release Please to maintain draft release PRs on main using GITHUB_TOKEN, following the openai-python Python release configuration. Changelog entries are limited to features and bug fixes. It seeds the manifest at 0.22.3 and updates the editable package's lockfile version through a targeted TOML selector that survives lockfile regeneration.

Maintainers regenerate and review the public API snapshot before completing each release PR. Tags and GitHub Releases remain manual so publication still triggers the existing provenance-checked PyPI workflow. The maintainer guide covers bot CI approval, pending/tagged labels, and the later App migration. Release configuration changes now trigger the existing SDK checks. The standalone manual release helper also updates and validates the manifest and source-checkout version fallback, with matching preparation and final-review guidance. For standalone manual releases, maintainers pause Release Please until the matching tag and GitHub Release exist, preventing duplicate proposals during that interval.

Test plan

  • Two independent reviews passed: workflow credentials/trust boundaries and release lifecycle.
  • Pinned release-please 17.6.0 offline probes: a fix proposes 0.22.4, a feature proposes 0.23.0, both draft; only the expected changelog and project version fields change.
  • Configuration validated against the pinned upstream JSON schema; a mixed-commit probe verifies only feat/fix entries appear in the changelog.
  • Pinned Manifest lifecycle probe reproduced an untagged manual-release duplicate and confirmed no proposal after the matching tag/release exists.
  • 74 focused release metadata, workflow boundary, change detection and release provenance checks passed; 17 release-helper integration scenarios passed, including exact five-file candidates, the source fallback after a manual release, and installed package metadata taking precedence.
  • Required verification wrapper passed: formatting, lint, mypy, Pyright, and tests (11,575 passed; 69 skipped).
  • Native macOS sandbox tests are skipped under the repository's documented Codex sandbox policy and remain a hosted-CI check. Live release automation and publishing remain rollout checks.

Rollout

Verify GitHub Actions can create and update release PRs without relaxing existing protections. Maintainers regenerate and push the API snapshot using their own credentials to start normal PR CI, approve bot-triggered CI when prompted, obtain code-owner review, publish the reviewed tag and GitHub Release, then transition the merged PR from autorelease: pending to autorelease: tagged. GitHub App credentials are a separate follow-up; this workflow does not require them.

Checks

  • Added focused regression coverage.
  • Ran .agents/skills/code-change-verification/scripts/run.sh with the documented Codex sandbox environment and UV_FROZEN=1.
  • Confirmed all verification steps pass and final content matches the reviewed fingerprint.
  • Completed two independent code reviews before handoff.

@jbeckwith-oai
jbeckwith-oai requested review from a team, rm-openai and seratch as code owners September 28, 2026 16:20
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 28, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-09-28T17:29:57.005112Z 0198f70 New commits
🔒 Security Review ✅ Completed 2026-09-28T17:30:32.343697Z 0198f70 New commits
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 8256b6a389

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread .github/RELEASING.md Outdated
Comment thread .github/RELEASING.md Outdated

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 94746f0ad3

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread .github/RELEASING.md Outdated
@jbeckwith-oai

Copy link
Copy Markdown
Collaborator Author

Simplified the changelog configuration to just feat (Features) and fix (Bug Fixes), removing the other eight section entries. Kept the two-entry override because the pinned Python defaults also show other categories. The pinned mixed-commit changelog probe, schema validation, and metadata checks passed.

markstuart-oai
markstuart-oai previously approved these changes Sep 28, 2026

@markstuart-oai markstuart-oai left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed the complete change at a8a42bd95a349fda547eb3aa30d00b1991aa7cd0, including the simplified changelog configuration. No actionable findings.

The workflow limits Release Please to draft PR preparation on main and preserves manual tagging/publication. The manual candidate helper, its exact-path validation, and both review/preparation instructions consistently include the version manifest. The documented pause through tag/release creation addresses the duplicate-proposal window, while the existing publishing provenance checks remain intact. I also checked the new change-detection and release-boundary tests and used an independent source review of the release lifecycle.

Hosted CI on this exact commit: 19 checks passed, 4 still running/pending. The earlier b8b3c19 revision had all 23 checks passing; its only subsequent source change is the smaller changelog section list. Source-only review: no local tests, builds, release automation, or publication was run. Live Actions permissions, repository protections, and PyPI configuration remain rollout checks.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: a8a42bd95a

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread .github/RELEASING.md Outdated

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 0198f7049d

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread release-please-config.json
@jbeckwith-oai
jbeckwith-oai merged commit 770721b into main Sep 28, 2026
23 checks passed
@jbeckwith-oai
jbeckwith-oai deleted the codex/release-please branch September 28, 2026 17:43
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.

3 participants