Skip to content

The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]

ci(duplicate-check): let Codex reach GitHub from its sandbox

ryan-crabbe-berri1f27c442b414
diff --git a/.github/workflows/duplicate_issue_check.yml b/.github/workflows/duplicate_issue_check.yml
index b12f894328e..83c6cc06de7 100644
--- a/.github/workflows/duplicate_issue_check.yml
+++ b/.github/workflows/duplicate_issue_check.yml
@@ -93,10 +93,11 @@ jobs:
responses-api-endpoint: ${{ vars.LITELLM_API_BASE }}/v1/responses
prompt-file: .github/prompts/duplicate-issue-check.md
output-schema-file: .github/prompts/duplicate-issue-check.schema.json
- sandbox: read-only
- # read-only denies network, and the whole method is searching the tracker with gh
- codex-args: '["-c", "sandbox_permissions=[\"network-full-access\"]"]'
+ sandbox: workspace-write
+ # The whole method is searching the tracker with gh, and network is only switchable in workspace-write
+ codex-args: '["-c", "sandbox_workspace_write.network_access=true"]'
model: ${{ vars.DUPLICATE_CHECK_MODEL }}
+ codex-version: "0.154.0"
# Issue authors have no write access and the action refuses them by default; the
# prompt is fixed, the sandbox read-only, and the only token is read-only on a public repo
allow-users: "*"