diff --git a/.github/codex_auto_merge_policy.json b/.github/codex_auto_merge_policy.json index e1f0a35..50d2bfd 100644 --- a/.github/codex_auto_merge_policy.json +++ b/.github/codex_auto_merge_policy.json @@ -43,8 +43,6 @@ "low" ], "timeout_minutes": 20, - "max_diff_lines": 2400, - "auto_converge_after": 3, - "block_on_review_failure": false + "max_diff_lines": 2400 } } diff --git a/.github/workflows/codex_pr_review.yml b/.github/workflows/codex_pr_review.yml index 27351f6..037717e 100644 --- a/.github/workflows/codex_pr_review.yml +++ b/.github/workflows/codex_pr_review.yml @@ -1,7 +1,7 @@ name: Codex PR Review on: - pull_request: + pull_request_target: types: [opened, synchronize, reopened] permissions: @@ -19,7 +19,7 @@ jobs: uses: QuantStrategyLab/AIAuditBridge/.github/workflows/codex_pr_review.yml@main with: caller_concurrency_key: pr-${{ github.event.pull_request.number || github.run_id }} - allow_unconfigured_backend: true + allow_unconfigured_backend: false api_fallback_enabled: "false" direct_api_primary_enabled: "false" secrets: inherit