litellm/.github
mateo-berri 7b366fede5
fix(triage): only pass OPENAI_API_KEY when enabled or manually dispatched
The pull_request_target / issues auto-triggers always passed the LLM API
key, and AGENT_SHIN_ENABLED only gated --close. In dry-run mode the
script still calls the model whenever the key is present, so an
external user could open/reopen PRs or issues with large bodies to drain
LLM credits before the bot was ever enabled.

Bind OPENAI_API_KEY to the empty string unless AGENT_SHIN_ENABLED is
'true' (workflow has opted in to model costs) or the workflow is
running via workflow_dispatch (requires write access — collaborator
only). The script already short-circuits with skip-no-llm-key when the
key is empty, so the pre-enable rollout path for manual QA via 'gh
workflow run' still works for collaborators, but auto-triggered runs
from external authors cannot spend credits.
2026-05-19 08:09:21 +00:00
..
codeql [Infra] Improve CodeQL scanning coverage and schedule 2026-03-27 12:04:09 -07:00
ISSUE_TEMPLATE docs(templates): require expected/actual + QA proof for external contributions 2026-05-17 16:25:07 +00:00
observatory Add observatory test workflow for RC/stable releases 2026-03-01 15:30:09 -03:00
screenshots fix(team_endpoints): auto-add SSO team members to org on move (proxy admin only) (#26377) 2026-04-24 08:36:25 -07:00
scripts Use AGENT_SHIN_AUTO_CLOSE_MARKER constant in close-comment formatters 2026-05-19 07:55:08 +00:00
workflows fix(triage): only pass OPENAI_API_KEY when enabled or manually dispatched 2026-05-19 08:09:21 +00:00
dependabot.yaml chore: fixes 2026-04-05 01:30:57 -07:00
deploy-to-aws.png Add files via upload 2023-10-25 16:33:53 -07:00
FUNDING.yml Update FUNDING.yml 2023-09-22 09:51:35 -07:00
pull_request_template.md feat(triage): close any PR (incl. drafts, any age); add @agent-shin reconsider flow 2026-05-18 00:15:42 +00:00
template.yaml (chore) cleanup 2024-02-09 09:28:13 -08:00