There was an error while loading. Please reload this page.
1 parent ef02d5d commit 425b84fCopy full SHA for 425b84f
1 file changed
.github/workflows/codex-review.yml
@@ -25,8 +25,13 @@ jobs:
25
codex:
26
name: Codex Review
27
runs-on: ubuntu-latest
28
- # Skip forks (no secret access) so they don't show a spurious failure.
29
- 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
30
+ # check below does not catch it — pull_request runs for Dependabot are
31
+ # withheld secrets, so the Codex step would fail with no OPENAI_API_KEY.
32
+ if: >-
33
+ github.event.pull_request.head.repo.full_name == github.repository &&
34
+ github.event.pull_request.user.login != 'dependabot[bot]'
35
permissions:
36
contents: read
37
outputs:
0 commit comments