Skip to content

Commit b551775

Browse files
authored
fix(chromatic): run if a user adds the label to a Dependabot PR (#7722)
* fix(chromatic): run if a user adds the label to a Dependabot PR Signed-off-by: Aviv Keller <[email protected]> * fixup! Signed-off-by: Aviv Keller <[email protected]> --------- Signed-off-by: Aviv Keller <[email protected]>
1 parent f1022c2 commit b551775

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

.github/workflows/chromatic.yml

+1-2
Original file line numberDiff line numberDiff line change
@@ -31,12 +31,11 @@ jobs:
3131
chromatic:
3232
# We only need to run Storybook Builds and Storybook Visual Regression Tests within Pull Requests that actually
3333
# introduce changes to the Storybook. Hence, we skip running these on Crowdin PRs and Dependabot PRs
34-
# sha reference has no stable git tag reference or URL. see https://github.com/chromaui/chromatic-cli/issues/797
3534
if: |
3635
github.event_name != 'pull_request_target' ||
3736
(
3837
github.event.label.name == 'github_actions:pull-request' &&
39-
startsWith(github.event.pull_request.head.ref, 'dependabot/') == false &&
38+
github.actor != 'dependabot[bot]' &&
4039
github.event.pull_request.head.ref != 'chore/crowdin'
4140
)
4241

0 commit comments

Comments
 (0)