chromatic - take only the last version of build into account (#3748)

This commit is contained in:
Krzysztof Żuraw 2023-06-13 14:48:46 +02:00 committed by GitHub
parent fbc5fe31e7
commit 3754de6196
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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'