mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-11 03:38:38 +00:00
The reporter for LiteLLM Rust runs on the workflow_run event and requires exactly one associated pull request. When a fork opens a PR targeting its own copy of `litellm_internal_staging` with a head SHA that matches the upstream repo, GitHub includes that fork PR in `workflow_run.pull_requests` alongside the real internal PR, so the strict `length !== 1` guard throws "unexpected source workflow" and the reporter fails on every internal staging push. Filter `pull_requests` to entries whose base repo id matches the workflow repo id before applying the exact-one check, so cross-repo PR entries are ignored and the reporter still targets the correct internal PR. Co-authored-by: Krrish Dholakia <krrish-berri-2@users.noreply.github.com> |
||
|---|---|---|
| .. | ||
| actions | ||
| codeql | ||
| ISSUE_TEMPLATE | ||
| observatory | ||
| screenshots | ||
| scripts | ||
| workflows | ||
| ci-coverage-allowlist.yml | ||
| CODEOWNERS | ||
| dependabot.yaml | ||
| deploy-on-aws.png | ||
| deploy-on-gcp.png | ||
| deploy-to-aws.png | ||
| FUNDING.yml | ||
| mutmut-coverage.rc | ||
| pull_request_template.md | ||
| template.yaml | ||