ci: skip chromatic / storybook CI for pull requests targets master (#14377)

This commit is contained in:
anatawa12 2024-08-10 09:36:10 +09:00 committed by GitHub
parent 7e3dedb045
commit 1532d5f390
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -7,6 +7,11 @@ on:
- develop - develop
- dev/storybook8 # for testing - dev/storybook8 # for testing
pull_request_target: 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: jobs:
build: build: