feat(ci): implement automated code review via GitHub Actions#105
Merged
pentaxis93 merged 2 commits intomainfrom Mar 9, 2026
Merged
feat(ci): implement automated code review via GitHub Actions#105pentaxis93 merged 2 commits intomainfrom
pentaxis93 merged 2 commits intomainfrom
Conversation
Add GitHub Actions automation that runs codex exec review on PR events and posts findings as inline comments. Document project-specific review guidance in AGENTS.md for Codex to follow. Refs #101
Drop --ask-for-approval from codex exec review invocation because current CLI rejects the argument in this command path. Refs #101
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
codex exec review --base <branch> --json --output-last-messageon pull request eventsAGENTS.mdso Codex behavior is governed in-repoChanges
.github/workflows/code-review.yml:opened,synchronize,reopened, andready_for_reviewopenai/codex-action@v1to install/configure Codex and proxy with read-only sandboxingcodex exec reviewdirectly (built-in review mode)actions/github-scriptAGENTS.mdwith aCodex Review Guidelinessection focused on correctness, regression, security, and actionable findingsIssue(s)
Closes #101
Test plan
github-scriptJavaScript parses successfully