From 085a7a0c31fb39d6d7fed0f7e74140856b286db4 Mon Sep 17 00:00:00 2001 From: Chesars Date: Sun, 28 Dec 2025 11:20:25 -0300 Subject: [PATCH] Prevent auto_update_price_and_context_window workflow from running in forks Add repository check to ensure the scheduled workflow only runs in the main BerriAI/litellm repository, preventing unnecessary executions in forks. --- .github/workflows/auto_update_price_and_context_window.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/auto_update_price_and_context_window.yml b/.github/workflows/auto_update_price_and_context_window.yml index e7d65242c1..98b9d868e6 100644 --- a/.github/workflows/auto_update_price_and_context_window.yml +++ b/.github/workflows/auto_update_price_and_context_window.yml @@ -7,6 +7,7 @@ on: jobs: auto_update_price_and_context_window: + if: github.repository == 'BerriAI/litellm' runs-on: ubuntu-latest steps: - uses: actions/checkout@v3