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:
parent
6dc11deeac
commit
085a7a0c31
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user