Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 7 additions & 2 deletions .github/workflows/codex-review.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,13 @@ jobs:
codex:
name: Codex Review
runs-on: ubuntu-latest
# Skip forks (no secret access) so they don't show a spurious failure.
if: github.event.pull_request.head.repo.full_name == github.repository
# Skip forks and Dependabot (neither gets secret access) so they don't show
# a spurious failure. Dependabot pushes to a same-repo branch, so the fork
# check below does not catch it — pull_request runs for Dependabot are
# withheld secrets, so the Codex step would fail with no OPENAI_API_KEY.
if: >-
github.event.pull_request.head.repo.full_name == github.repository &&
github.event.pull_request.user.login != 'dependabot[bot]'
permissions:
contents: read
outputs:
Expand Down
Loading