mirror of
https://github.com/hwchase17/langchain.git
synced 2025-07-18 02:33:19 +00:00
infra: schedule triggers monorepo only by default (#27428)
fixes https://github.com/langchain-ai/langchain/issues/27426
This commit is contained in:
parent
f9cc9bdcf3
commit
4d11211c89
1
.github/workflows/api_doc_build.yml
vendored
1
.github/workflows/api_doc_build.yml
vendored
@ -10,6 +10,7 @@ env:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
|
if: github.repository == 'langchain-ai/langchain' || github.event_name != 'schedule'
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
permissions: write-all
|
permissions: write-all
|
||||||
steps:
|
steps:
|
||||||
|
2
.github/workflows/check-broken-links.yml
vendored
2
.github/workflows/check-broken-links.yml
vendored
@ -7,7 +7,7 @@ on:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
check-links:
|
check-links:
|
||||||
if: github.repository_owner == 'langchain-ai'
|
if: github.repository_owner == 'langchain-ai' || github.event_name != 'schedule'
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
2
.github/workflows/people.yml
vendored
2
.github/workflows/people.yml
vendored
@ -14,7 +14,7 @@ on:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
langchain-people:
|
langchain-people:
|
||||||
if: github.repository_owner == 'langchain-ai'
|
if: github.repository_owner == 'langchain-ai' || github.event_name != 'schedule'
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
permissions: write-all
|
permissions: write-all
|
||||||
steps:
|
steps:
|
||||||
|
5
.github/workflows/run_notebooks.yml
vendored
5
.github/workflows/run_notebooks.yml
vendored
@ -20,7 +20,7 @@ env:
|
|||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
if: github.repository == 'langchain-ai/langchain' || github.event_name != 'schedule'
|
||||||
name: "Test docs"
|
name: "Test docs"
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
@ -51,5 +51,6 @@ jobs:
|
|||||||
MISTRAL_API_KEY: ${{ secrets.MISTRAL_API_KEY }}
|
MISTRAL_API_KEY: ${{ secrets.MISTRAL_API_KEY }}
|
||||||
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
|
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
|
||||||
TAVILY_API_KEY: ${{ secrets.TAVILY_API_KEY }}
|
TAVILY_API_KEY: ${{ secrets.TAVILY_API_KEY }}
|
||||||
|
WORKING_DIRECTORY: ${{ github.event.inputs.working-directory || 'all' }}
|
||||||
run: |
|
run: |
|
||||||
./docs/scripts/execute_notebooks.sh ${{ github.event.inputs.working-directory || 'all' }}
|
./docs/scripts/execute_notebooks.sh $WORKING_DIRECTORY
|
||||||
|
2
.github/workflows/scheduled_test.yml
vendored
2
.github/workflows/scheduled_test.yml
vendored
@ -10,7 +10,7 @@ env:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
if: github.repository_owner == 'langchain-ai'
|
if: github.repository_owner == 'langchain-ai' || github.event_name != 'schedule'
|
||||||
name: Python ${{ matrix.python-version }} - ${{ matrix.working-directory }}
|
name: Python ${{ matrix.python-version }} - ${{ matrix.working-directory }}
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
strategy:
|
strategy:
|
||||||
|
Loading…
Reference in New Issue
Block a user