mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-21 00:21:49 +00:00
Merge pull request #41883 from BerriAI/litellm_duplicate_check_sandbox_network
ci(duplicate-check): let Codex reach GitHub from its sandbox
This commit is contained in:
commit
1d91fc232d
1 changed files with 6 additions and 5 deletions
11
.github/workflows/duplicate_issue_check.yml
vendored
11
.github/workflows/duplicate_issue_check.yml
vendored
|
|
@ -93,12 +93,13 @@ 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 }}
|
||||
# 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
|
||||
codex-version: "0.154.0"
|
||||
# Issue authors have no write access and the action refuses them by default; the prompt is
|
||||
# fixed, writes stay inside the throwaway checkout, and the only token is read-only on a public repo
|
||||
allow-users: "*"
|
||||
|
||||
- name: Summary
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue