infra: Scheduled GitHub Actions to run only on the upstream repository (#22707)

**Description:** Scheduled GitHub Actions to run only on the upstream
repository

**Issue:** Fixes #22706 

**Twitter handle:** @coolbeevip
This commit is contained in:
Lei Zhang
2024-06-10 23:07:42 +08:00
committed by GitHub
parent 3f76c9e908
commit 5ba1899cd7
2 changed files with 2 additions and 0 deletions

View File

@@ -7,6 +7,7 @@ on:
jobs:
check-links:
if: github.repository_owner == 'langchain-ai'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

View File

@@ -10,6 +10,7 @@ env:
jobs:
build:
if: github.repository_owner == 'langchain-ai'
name: Python ${{ matrix.python-version }} - ${{ matrix.working-directory }}
runs-on: ubuntu-latest
strategy: