ci: Disable chromatic, if not in main repo (#27747)

This commit is contained in:
Matsu
2026-03-30 14:08:16 +03:00
committed by GitHub
parent 21faa2e187
commit 1963d9775d

View File

@@ -188,7 +188,7 @@ jobs:
chromatic:
name: Chromatic
needs: install-and-build
if: needs.install-and-build.outputs.design_system == 'true' && github.event_name == 'pull_request'
if: needs.install-and-build.outputs.design_system == 'true' && github.event_name == 'pull_request' && github.repository == 'n8n-io/n8n'
uses: ./.github/workflows/test-visual-chromatic.yml
with:
ref: ${{ needs.install-and-build.outputs.commit_sha }}