Merge pull request #1962 from knorrium/ops/skip_tests_for_ops
Skip tests if branch name starts with ops
This commit is contained in:
		
						commit
						265ff52721
					
				
							
								
								
									
										4
									
								
								.github/workflows/cypress.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										4
									
								
								.github/workflows/cypress.yml
									
									
									
									
										vendored
									
									
								
							@ -3,11 +3,9 @@ name: Cypress Tests
 | 
			
		||||
on:
 | 
			
		||||
  pull_request:
 | 
			
		||||
    types: [ opened, review_requested, synchronize ]
 | 
			
		||||
    branches-ignore:    
 | 
			
		||||
    - 'ops/**'
 | 
			
		||||
jobs:
 | 
			
		||||
  cypress:
 | 
			
		||||
    if: "!contains(github.event.pull_request.labels.*.name, 'ops')"
 | 
			
		||||
    if: "!contains(github.event.pull_request.labels.*.name, 'ops') && !contains(github.head_ref, 'ops/')"
 | 
			
		||||
    runs-on: ${{ matrix.os }}
 | 
			
		||||
    strategy:
 | 
			
		||||
      fail-fast: false
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user