ci: skip chromatic / storybook CI for pull requests targets master (#14377)
This commit is contained in:
parent
7e3dedb045
commit
1532d5f390
5
.github/workflows/storybook.yml
vendored
5
.github/workflows/storybook.yml
vendored
|
@ -7,6 +7,11 @@ on:
|
|||
- develop
|
||||
- dev/storybook8 # for testing
|
||||
pull_request_target:
|
||||
branches-ignore:
|
||||
# Since pull requests targets master mostly is the "develop" branch.
|
||||
# Storybook CI is checked on the "push" event of "develop" branch so it would cause a duplicate build.
|
||||
# This is a waste of chromatic build quota, so we don't run storybook CI on pull requests targets master.
|
||||
- master
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
|
Loading…
Reference in a new issue