fix: Fix checks in chromatic workflow (no-changelog) (#19786)

This commit is contained in:
Alex Grozav 2025-09-19 17:56:43 +01:00 committed by GitHub
parent 57d1673570
commit 47c312f7d3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -25,13 +25,14 @@ jobs:
- 'packages/frontend/@n8n/design-system/**'
- '.github/workflows/storybook.yml'
outputs:
has_changes: ${{ steps.changed.outputs.design_system }}
has_changes: ${{ steps.changed.outputs.design_system || 'false' }}
chromatic:
needs: [changeset]
if: |
github.event_name == 'workflow_dispatch' ||
(
github.event_name == 'pull_request_review' &&
needs.changeset.outputs.has_changes == 'true' &&
github.event.review.state == 'approved' &&
!contains(github.event.pull_request.labels.*.name, 'community')