From 1532d5f3904df811143d19816c02c3a598737b10 Mon Sep 17 00:00:00 2001 From: anatawa12 Date: Sat, 10 Aug 2024 09:36:10 +0900 Subject: [PATCH] ci: skip chromatic / storybook CI for pull requests targets master (#14377) --- .github/workflows/storybook.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/storybook.yml b/.github/workflows/storybook.yml index 68452aacaf..bea93f1456 100644 --- a/.github/workflows/storybook.yml +++ b/.github/workflows/storybook.yml @@ -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: