From fd5d26d38510a1a5990eb97a8a0da22d8a0529b4 Mon Sep 17 00:00:00 2001 From: Muhammad Atif Ali Date: Thu, 20 Jul 2023 18:18:02 +0300 Subject: [PATCH] chore: prevent running chromatic on all merged PRs (#8623) --- .github/workflows/ci.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 1649e4f5cd..eabf166559 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -543,7 +543,7 @@ jobs: # REMARK: this is only used to build storybook and deploy it to Chromatic. runs-on: ubuntu-latest needs: changes - if: needs.changes.outputs.ts == 'true' || needs.changes.outputs.ci == 'true' || github.ref == 'refs/heads/main' + if: needs.changes.outputs.ts == 'true' || needs.changes.outputs.ci == 'true' steps: - name: Checkout uses: actions/checkout@v3