Skip to content

ci: add the codex review job - #402

Merged
furedea merged 1 commit into
mainfrom
ci/add-the-codex-review-job
Nov 6, 2026
Merged

furedea merged 1 commit into
mainfrom
ci/add-the-codex-review-job

Conversation

@furedea

@furedea furedea commented Nov 6, 2026

Copy link
Copy Markdown
Owner

全 PR を Codex がレビューする共有 workflow(furedea/reusable-workflows の codex-review.yml)を ci.yml から呼び,all-green の needs に加えます.
CI がオーナーの token で @codex review を投稿し,HEAD の commit に未解決の指摘があるか,Codex が失敗するか,20 分以内に結果がないと all-green が赤になります.PR 以外のイベント,フォークからの PR,furedea-agent 以外の bot の PR では飛ばし,成功として扱います.

  • codex-review / Decide whether to review と codex-review / Codex review が成功する
  • all-green が green になる
出典

🤖 Generated with Claude Code

Call the shared codex-review workflow from furedea/reusable-workflows
and require it in all-green.

Refs furedea/reusable-workflows#7

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Copilot AI balanced review requested due to automatic review settings November 6, 2026 16:42

Copilot AI 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.

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.

@chatgpt-codex-connector

Copy link
Copy Markdown

To use Codex here, create an environment for this repo.

@furedea

furedea commented Nov 6, 2026

Copy link
Copy Markdown
Owner Author

@codex review

@github-actions

github-actions Bot commented Nov 6, 2026

Copy link
Copy Markdown
Contributor

Review summary: No P0–P3 findings.

This PR adds a codex-review job to ci.yml that calls a reusable workflow at a pinned SHA. The job gets permissions: {} and passes CODEX_REVIEW_TOKEN explicitly rather than with secrets: inherit. It is also added to the needs of all-green. This follows the existing claude-review pattern. Fork PRs don't receive secrets, so the token isn't exposed to untrusted code.

Things I could not check from here (the contents of furedea/reusable-workflows@9bea83d were not available to this review):

  • That the called workflow works with a caller-side permissions: {}. Any job in it that uses GITHUB_TOKEN instead of the owner token is limited to no scopes.
  • That the top-level result of the reusable-workflow job is success, not skipped, on push to main, fork PRs and bot PRs. all-green treats skipped as a failure.

The test-plan checkboxes in the PR description cover both points on this PR's own run. A push to main after merge will confirm the non-PR path.

🤖 Generated with Claude Code

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Can't wait for the next one!

Reviewed commit: 4f3fae241f

ℹ️ 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".

@chatgpt-codex-connector

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-11-06T16:44:58.729394Z 4f3fae2 Manual request
ℹ️ 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.

@furedea
furedea merged commit 0506dd8 into main Nov 6, 2026
17 of 18 checks passed
@furedea
furedea deleted the ci/add-the-codex-review-job branch November 6, 2026 17:10
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