Sync Codex review workflow to latest - #330
Closed
ashvathsureshkumar wants to merge 4 commits into
Closed
Conversation
ashvathsureshkumar
requested review from
CoderOMaster,
HarshaNalluru and
r4ghu
as code owners
June 30, 2026 23:56
Codex reviewNo issues found. |
…mmits); drop non-load-bearing prompt wording
HarshaNalluru
previously approved these changes
Jul 1, 2026
Contributor
There was a problem hiding this comment.
Pull request overview
Syncs the repository’s codex-review.yml GitHub Actions workflow to the latest org-wide “Codex PR Review” workflow, strengthening safety around trusted triggering and improving review signal via a deeper repository-crawl prompt.
Changes:
- Restricts
pull_requesttrigger to PRs targetingmainand updates concurrency grouping to avoid untrusted@codex reviewcomments canceling trusted runs. - Adds/clarifies same-repo (non-fork) gating before performing the secret-backed checkout/review.
- Improves comment management: only edits/deletes this workflow’s own bot-authored comments and avoids deleting inline threads that have replies; adds a top-level review body for inline reviews.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
… check is in authorize
Contributor
|
I made a PR to a better workflow so it doesn't run on forks, closing this in favor of that |
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.
Syncs
codex-review.ymlto the latest canonical version used across the org.What's new vs the version currently on
main:authorizejob gates reviews to same-repo (non-fork) PRs so secrets are never exposed to fork content.@codex reviewcomment can't cancel an in-flight review.pull_requesttrigger restricted tomain.No behavior change for normal same-repo PRs beyond a deeper, higher-signal review.