diff --git a/.github/workflows/chromatic.yml b/.github/workflows/chromatic.yml index a0fa8dda84..be1b6e2d3f 100644 --- a/.github/workflows/chromatic.yml +++ b/.github/workflows/chromatic.yml @@ -8,7 +8,7 @@ concurrency: jobs: chromatic: - if: ${{ !startsWith(github.ref, 'refs/heads/dependabot/') || !startsWith(github.triggering_actor, 'dependabot') }} + if: ${{ (!startsWith(github.ref, 'refs/heads/dependabot/') || !startsWith(github.triggering_actor, 'dependabot')) && !contains(github.event.pull_request.labels.*.name, 'disabe-chromatic ')}} runs-on: ubuntu-latest steps: - name: Checkout repository