From 6d814d677eac9904303341d12cdbac5b966305ca Mon Sep 17 00:00:00 2001 From: CodeRabbit Automation Date: Tue, 12 May 2026 09:58:00 -0700 Subject: [PATCH] Block fork pull request workflow jobs --- .github/workflows/changeset.yml | 2 +- .github/workflows/ci.yml | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/changeset.yml b/.github/workflows/changeset.yml index a84391c..9881e36 100644 --- a/.github/workflows/changeset.yml +++ b/.github/workflows/changeset.yml @@ -8,7 +8,7 @@ jobs: renovate: name: Update Renovate PR runs-on: ubuntu-latest - if: contains(github.event.pull_request.labels.*.name, 'dependencies') + if: ${{ (github.event.pull_request == null || github.event.pull_request.head.repo.full_name == github.repository) && (contains(github.event.pull_request.labels.*.name, 'dependencies')) }} steps: - name: Update PR diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 302534e..d11a012 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -8,6 +8,7 @@ on: jobs: build: + if: ${{ github.event.pull_request == null || github.event.pull_request.head.repo.full_name == github.repository }} name: CI - build & test runs-on: ubuntu-latest steps: