ci: skip chromatic / storybook CI for pull requests targets master (#14377)
This commit is contained in:
		
							
								
								
									
										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:
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user