Merge pull request #1997 from mempool/knorrium/gha_triggers
Update CI to trigger on PRs and exclude from ops activities
This commit is contained in:
		
						commit
						bc56878039
					
				
							
								
								
									
										5
									
								
								.github/workflows/ci.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										5
									
								
								.github/workflows/ci.yml
									
									
									
									
										vendored
									
									
								
							| @ -1,12 +1,14 @@ | ||||
| name: CI Pipeline for the Backend and Frontend | ||||
| 
 | ||||
| on: | ||||
|   push: | ||||
|   pull_request: | ||||
|     types: [ opened, review_requested, synchronize ] | ||||
| env: | ||||
|   NODE_VERSION: 16.15.0 | ||||
| 
 | ||||
| jobs: | ||||
|   backend: | ||||
|     if: "!contains(github.event.pull_request.labels.*.name, 'ops') && !contains(github.head_ref, 'ops/')" | ||||
|     strategy: | ||||
|       matrix: | ||||
|         flavor: ['dev', 'prod'] | ||||
| @ -48,6 +50,7 @@ jobs: | ||||
|         working-directory: ${{ matrix.flavor }}/backend | ||||
| 
 | ||||
|   frontend: | ||||
|     if: "!contains(github.event.pull_request.labels.*.name, 'ops') && !contains(github.head_ref, 'ops/')" | ||||
|     strategy: | ||||
|       matrix: | ||||
|         flavor: ['dev', 'prod'] | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user