Skip to content

Commit 57bad91

Browse files
Pigbibicodex
andcommitted
ci: harden Codex PR review workflow
Co-Authored-By: Codex <noreply@openai.com>
1 parent 5acc469 commit 57bad91

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/codex_pr_review.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
11
name: Codex PR Review
22

33
on:
4-
pull_request:
4+
pull_request_target:
55
types: [opened, synchronize, reopened]
66

77
permissions:
88
contents: read
9-
id-token: write
109
issues: write
1110
pull-requests: write
1211

@@ -19,10 +18,11 @@ jobs:
1918
uses: QuantStrategyLab/AIAuditBridge/.github/workflows/codex_pr_review.yml@main
2019
with:
2120
caller_concurrency_key: pr-${{ github.event.pull_request.number || github.run_id }}
22-
allow_unconfigured_backend: true
21+
allow_unconfigured_backend: false
22+
api_fallback_enabled: "false"
23+
direct_api_primary_enabled: "false"
2324
secrets: inherit
2425
permissions:
2526
contents: read
26-
id-token: write
2727
issues: write
2828
pull-requests: write

0 commit comments

Comments
 (0)