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
pull/22744/head
Lei Zhang 2 months ago committed by GitHub
parent 3f76c9e908
commit 5ba1899cd7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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

@ -10,6 +10,7 @@ env:
jobs: jobs:
build: build:
if: github.repository_owner == 'langchain-ai'
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…
Cancel
Save