You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add permission_profile defaulting to :workspace, while keeping legacy sandbox as fallback when permission_profile is empty.
Add optional codex_version.
Precompute changed files, diff stat, and a bounded patch snapshot before invoking Codex.
Pass Codex a generated prompt-file and output-schema-file.
Fail closed if Codex returns a meta-response claiming it cannot inspect the PR diff, instead of posting that as a review.
Update actions/github-script, actions/setup-node, and pnpm/action-setup to Node-24-compatible majors.
- `codex_version`: optional Codex CLI version passed through to `openai/codex-action`
115
117
- `review_focus`: extra review criteria inserted into the prompt
116
118
- `extra_prompt`: extra prompt text appended after the standard review instructions
117
119
@@ -120,7 +122,9 @@ This is deliberate. Running fork code in a secret-bearing job is a real secret-e
120
122
## Notes
121
123
122
124
- The action expects `pnpm` by default, but the caller can override `install_command`, `node_version`, `pnpm_version`, and `working_directory`.
123
-
- The action embeds its output schema inline so callers do not need to copy schema files into their own repositories.
125
+
- The action generates its output schema at runtime so callers do not need to copy schema files into their own repositories.
126
+
- The action precomputes the PR diff stat, changed files, and a bounded patch snapshot before invoking Codex so the model has review context immediately and can still inspect the checkout for deeper analysis.
127
+
- If Codex returns a meta-response claiming it cannot inspect the PR diff, the action fails closed instead of posting that response as a PR review.
124
128
- The action emits inline comments in a single batched PR review when findings have a valid `path` and a line that GitHub can anchor on the right side of the PR diff.
125
129
- The action posts inline comments only for initial PR review events (`opened`, `reopened`, `ready_for_review`) and for manual `workflow_dispatch` reruns; `synchronize` reruns update only the summary comment to avoid repeated inline comment spam.
126
130
- The action preserves existing inline comments across reruns so review threads can be resolved manually; only the summary comment is updated in place after the initial inline review.
0 commit comments