From 8369c3c045d07c8908ae9ca65af4d90d68d196a4 Mon Sep 17 00:00:00 2001 From: Gabe Kangas Date: Thu, 8 Sep 2022 16:33:15 -0700 Subject: [PATCH] Run Chromatic snapshots only on changed files. --- .github/workflows/chromatic.yml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/.github/workflows/chromatic.yml b/.github/workflows/chromatic.yml index 9d5507d53..aa0c65eb4 100644 --- a/.github/workflows/chromatic.yml +++ b/.github/workflows/chromatic.yml @@ -7,9 +7,6 @@ on: push: paths: - web/** - pull_request_target: - paths: - - web/** # List of jobs jobs: @@ -38,5 +35,5 @@ jobs: with: workingDir: web autoAcceptChanges: webv2 - # 👇 Chromatic projectToken, refer to the manage page to obtain it. projectToken: ${{ secrets.CHROMATIC_PROJECT_TOKEN }} + onlyChanged: true