From 5c0cf43e09109255bf3cf6f3be4d085db9f5bc5f Mon Sep 17 00:00:00 2001 From: rzzf Date: Fri, 27 Feb 2026 13:11:41 +0800 Subject: [PATCH] ci: skip chromatic on forks --- .github/workflows/chromatic.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/chromatic.yml b/.github/workflows/chromatic.yml index b71556f67..291fc1799 100644 --- a/.github/workflows/chromatic.yml +++ b/.github/workflows/chromatic.yml @@ -17,7 +17,7 @@ jobs: chromatic: name: 📚 Chromatic runs-on: ubuntu-24.04-arm - if: ${{ github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository }} + if: ${{ github.repository == 'npmx-dev/npmx.dev' && (github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository) }} steps: - name: ☑️ Checkout