ci: narrow Peak onboarding to same-repository PR checks

This commit is contained in:
MaheshtheDev 2026-10-02 19:34:08 +00:00
parent a0cc22f3a7
commit 4a7d1a9ad4
12 changed files with 16 additions and 16 deletions

View file

@ -23,7 +23,7 @@ env:
jobs:
agent-framework-python:
name: agent-framework-python (${{ matrix.dependency-lane }}, Python ${{ matrix.python-version }})
runs-on: "peak-ubuntu-24.04-4"
runs-on: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == github.repository && 'peak-ubuntu-24.04-4' || 'ubuntu-latest' }}
timeout-minutes: 15
strategy:
fail-fast: false
@ -77,7 +77,7 @@ jobs:
openai-sdk-python:
name: openai-sdk-python (${{ matrix.dependency-lane }}, Python ${{ matrix.python-version }})
runs-on: "peak-ubuntu-24.04-4"
runs-on: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == github.repository && 'peak-ubuntu-24.04-4' || 'ubuntu-latest' }}
timeout-minutes: 15
strategy:
fail-fast: false
@ -145,7 +145,7 @@ jobs:
cartesia-sdk-python:
name: cartesia-sdk-python (${{ matrix.dependency-lane }}, Python ${{ matrix.python-version }})
runs-on: "peak-ubuntu-24.04-4"
runs-on: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == github.repository && 'peak-ubuntu-24.04-4' || 'ubuntu-latest' }}
timeout-minutes: 15
strategy:
fail-fast: false
@ -202,7 +202,7 @@ jobs:
pipecat-sdk-python:
name: pipecat-sdk-python (${{ matrix.dependency-lane }}, Python ${{ matrix.python-version }})
runs-on: "peak-ubuntu-24.04-4"
runs-on: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == github.repository && 'peak-ubuntu-24.04-4' || 'ubuntu-latest' }}
timeout-minutes: 15
strategy:
fail-fast: false
@ -259,7 +259,7 @@ jobs:
livekit-sdk-python:
name: livekit-sdk-python (${{ matrix.dependency-lane }}, Python ${{ matrix.python-version }})
runs-on: "peak-ubuntu-24.04-4"
runs-on: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == github.repository && 'peak-ubuntu-24.04-4' || 'ubuntu-latest' }}
timeout-minutes: 15
strategy:
fail-fast: false

View file

@ -16,7 +16,7 @@ env:
jobs:
quality-checks:
name: Quality Checks
runs-on: "peak-ubuntu-24.04-4"
runs-on: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == github.repository && 'peak-ubuntu-24.04-4' || 'ubuntu-latest' }}
timeout-minutes: 15
steps:
- name: Checkout code

View file

@ -20,7 +20,7 @@ jobs:
github.event.workflow_run.pull_requests[0] &&
github.event.workflow_run.head_repository.full_name == github.event.workflow_run.repository.full_name &&
!endsWith(github.event.workflow_run.actor.login, '[bot]')
runs-on: "peak-ubuntu-24.04-4"
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- name: Checkout code

View file

@ -41,7 +41,7 @@ jobs:
github.event.issue.author_association == 'MEMBER' ||
github.event.issue.author_association == 'COLLABORATOR')
)
runs-on: "peak-ubuntu-24.04-4"
runs-on: ubuntu-latest
timeout-minutes: 30
permissions:
contents: read

View file

@ -13,7 +13,7 @@ concurrency:
jobs:
publish:
runs-on: "peak-ubuntu-24.04-4"
runs-on: ubuntu-latest
timeout-minutes: 15
permissions:
contents: read

View file

@ -13,7 +13,7 @@ concurrency:
jobs:
publish:
runs-on: "peak-ubuntu-24.04-4"
runs-on: ubuntu-latest
timeout-minutes: 15
permissions:
contents: read

View file

@ -13,7 +13,7 @@ concurrency:
jobs:
publish:
runs-on: "peak-ubuntu-24.04-4"
runs-on: ubuntu-latest
timeout-minutes: 15
permissions:
contents: read

View file

@ -13,7 +13,7 @@ concurrency:
jobs:
publish:
runs-on: "peak-ubuntu-24.04-4"
runs-on: ubuntu-latest
timeout-minutes: 15
permissions:
contents: read

View file

@ -13,7 +13,7 @@ concurrency:
jobs:
publish:
runs-on: "peak-ubuntu-24.04-4"
runs-on: ubuntu-latest
timeout-minutes: 15
permissions:
contents: read

View file

@ -13,7 +13,7 @@ concurrency:
jobs:
publish:
runs-on: "peak-ubuntu-24.04-4"
runs-on: ubuntu-latest
timeout-minutes: 15
permissions:
contents: read

View file

@ -13,7 +13,7 @@ concurrency:
jobs:
publish:
runs-on: "peak-ubuntu-24.04-4"
runs-on: ubuntu-latest
timeout-minutes: 15
permissions:
contents: read

View file

@ -13,7 +13,7 @@ concurrency:
jobs:
publish:
runs-on: "peak-ubuntu-24.04-4"
runs-on: ubuntu-latest
timeout-minutes: 15
permissions:
contents: read