mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-27 03:34:10 +00:00
fix(ci): only run certain workflows on main litellm repo
This commit is contained in:
parent
46b3dbde8f
commit
df82d8a950
2 changed files with 17 additions and 15 deletions
|
@ -7,6 +7,7 @@ on:
|
|||
|
||||
jobs:
|
||||
auto_update_price_and_context_window:
|
||||
if: github.repository == 'BerriAI/litellm' && github.event_name == 'schedule'
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
|
|
5
.github/workflows/publish-migrations.yml
vendored
5
.github/workflows/publish-migrations.yml
vendored
|
@ -7,12 +7,13 @@ permissions:
|
|||
on:
|
||||
push:
|
||||
paths:
|
||||
- 'schema.prisma' # Check root schema.prisma
|
||||
- "schema.prisma" # Check root schema.prisma
|
||||
branches:
|
||||
- main
|
||||
|
||||
jobs:
|
||||
publish-migrations:
|
||||
if: github.repository == 'BerriAI/litellm' && github.event_name == 'push'
|
||||
runs-on: ubuntu-latest
|
||||
services:
|
||||
postgres:
|
||||
|
@ -50,7 +51,7 @@ jobs:
|
|||
- name: Set up Python
|
||||
uses: actions/setup-python@v4
|
||||
with:
|
||||
python-version: '3.x'
|
||||
python-version: "3.x"
|
||||
|
||||
- name: Install Dependencies
|
||||
run: |
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue