Skip to content

Commit

Permalink
ci(Chromatic): disable ❌ check in PRs
Browse files Browse the repository at this point in the history
  • Loading branch information
zettca committed Aug 14, 2024
1 parent eae402e commit 557f4d1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/tests-visual.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
projectToken: ${{ secrets.CHROMATIC_PROJECT_TOKEN }}
forceRebuild: true

# Add red mark to workflow if it failed
# Add red mark to workflow if not PR and has changed or failed tests
- name: Evaluate Fail
if: ${{ steps.publish.outcome == 'failure' || steps.publish.outputs.changeCount != '0' || steps.publish.outputs.errorCount != '0' }}
if: ${{ inputs.batch-id == '' && steps.publish.outcome == 'failure' || steps.publish.outputs.changeCount != '0' || steps.publish.outputs.errorCount != '0' }}
run: exit 1

0 comments on commit 557f4d1

Please sign in to comment.