mirror of
				https://github.com/esphome/esphome.git
				synced 2025-10-31 15:12:06 +00:00 
			
		
		
		
	Add final job so branch protection can require matrix ci steps (#4432)
This commit is contained in:
		
							
								
								
									
										13
									
								
								.github/workflows/ci.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										13
									
								
								.github/workflows/ci.yml
									
									
									
									
										vendored
									
									
								
							| @@ -187,3 +187,16 @@ jobs: | ||||
|         run: script/ci-suggest-changes | ||||
|         # yamllint disable-line rule:line-length | ||||
|         if: always() && (matrix.id == 'clang-tidy' || matrix.id == 'clang-format' || matrix.id == 'lint-python') | ||||
|  | ||||
|   ci-status: | ||||
|     name: CI Status | ||||
|     runs-on: ubuntu-latest | ||||
|     needs: [ci] | ||||
|     if: always() | ||||
|     steps: | ||||
|       - name: Successful deploy | ||||
|         if: ${{ !(contains(needs.*.result, 'failure')) }} | ||||
|         run: exit 0 | ||||
|       - name: Failing deploy | ||||
|         if: ${{ contains(needs.*.result, 'failure') }} | ||||
|         run: exit 1 | ||||
|   | ||||
		Reference in New Issue
	
	Block a user