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.
This commit is contained in:
Chesars 2025-12-28 11:20:25 -03:00
parent 6dc11deeac
commit 085a7a0c31

View File

@ -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