Skip to content

Commit 8a6ea98

Browse files
Pigbibicodex
andcommitted
fix(ci): harden Codex review invocation
Co-Authored-By: Codex <noreply@openai.com>
1 parent 05bc7d9 commit 8a6ea98

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

.github/workflows/codex_pr_review.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,8 @@ jobs:
2222
allow_unconfigured_backend: false
2323
api_fallback_enabled: "false"
2424
direct_api_primary_enabled: "false"
25-
secrets: inherit
25+
secrets:
26+
CODEX_AUDIT_SERVICE_URL: ${{ secrets.CODEX_AUDIT_SERVICE_URL }}
2627
permissions:
2728
contents: read
2829
id-token: write

.github/workflows/codex_review_gate.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ permissions:
2323
pull-requests: read
2424

2525
concurrency:
26-
group: codex-review-gate-${{ github.event.pull_request.number }}
26+
group: codex-review-gate-${{ github.event.pull_request.number }}-${{ github.event_name }}
2727
cancel-in-progress: true
2828

2929
jobs:

0 commit comments

Comments
 (0)