From 3754de6196926c11a97a8b413ee664db4a5a8a91 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Krzysztof=20=C5=BBuraw?= <9116238+krzysztofzuraw@users.noreply.github.com> Date: Tue, 13 Jun 2023 14:48:46 +0200 Subject: [PATCH] chromatic - take only the last version of build into account (#3748) --- .github/workflows/storybook-chromatic.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/storybook-chromatic.yml b/.github/workflows/storybook-chromatic.yml index cd1711d7a..c0bcb8909 100644 --- a/.github/workflows/storybook-chromatic.yml +++ b/.github/workflows/storybook-chromatic.yml @@ -41,6 +41,7 @@ jobs: uses: chromaui/action@a89b674adf766dbde41ad9ea2b2b60b91188a0f0 # v6.17.4 with: projectToken: ${{ secrets.CHROMATIC_PROJECT_TOKEN }} + ignoreLastBuildOnBranch: "${{ github.ref_name }}" - name: Publish to Chromatic and auto accept changes if: github.ref == 'refs/heads/main'