Merge pull request #2169 from mweinelt/ci-reduce-builds
actions: run tasks based on set of modified paths
This commit is contained in:
		
						commit
						7320603a1f
					
				
							
								
								
									
										6
									
								
								.github/workflows/build-docs.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										6
									
								
								.github/workflows/build-docs.yml
									
									
									
									
										vendored
									
									
								
							| @ -1,8 +1,14 @@ | ||||
| name: Build Documentation | ||||
| on: | ||||
|   push: | ||||
|     paths: | ||||
|       - 'docs/**' | ||||
|       - '.github/workflows/build-docs.yml' | ||||
|   pull_request: | ||||
|     types: [opened, synchronize, reopened] | ||||
|     paths: | ||||
|       - 'docs**/' | ||||
|       - '.github/workflows/build-docs.yml' | ||||
| jobs: | ||||
|   build-documentation: | ||||
|     name: docs | ||||
|  | ||||
							
								
								
									
										16
									
								
								.github/workflows/build-gluon.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										16
									
								
								.github/workflows/build-gluon.yml
									
									
									
									
										vendored
									
									
								
							| @ -9,8 +9,24 @@ on: | ||||
|       - master | ||||
|       - next | ||||
|       - v20* | ||||
|     paths: | ||||
|       - "modules" | ||||
|       - "Makefile" | ||||
|       - "scripts/**" | ||||
|       - "package/**" | ||||
|       - "patches/**" | ||||
|       - "targets/**" | ||||
|       - ".github/workflows/build-gluon.yml" | ||||
|   pull_request: | ||||
|     types: [opened, synchronize, reopened] | ||||
|     paths: | ||||
|       - "modules" | ||||
|       - "Makefile" | ||||
|       - "scripts/**" | ||||
|       - "package/**" | ||||
|       - "patches/**" | ||||
|       - "targets/**" | ||||
|       - ".github/workflows/build-gluon.yml" | ||||
| jobs: | ||||
|   build_firmware: | ||||
|     strategy: | ||||
|  | ||||
							
								
								
									
										9
									
								
								.github/workflows/check-patches.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										9
									
								
								.github/workflows/check-patches.yml
									
									
									
									
										vendored
									
									
								
							| @ -1,8 +1,17 @@ | ||||
| --- | ||||
| name: Check patches | ||||
| on: | ||||
|   push: | ||||
|     paths: | ||||
|       - 'modules' | ||||
|       - 'patches/**' | ||||
|       - '.github/workflows/check-patches.yml' | ||||
|   pull_request: | ||||
|     types: [opened, synchronize, reopened] | ||||
|     paths: | ||||
|       - 'modules' | ||||
|       - 'patches/**' | ||||
|       - '.github/workflows/check-patches.yml' | ||||
| jobs: | ||||
|   check-patches: | ||||
|     name: Check patches | ||||
|  | ||||
| @ -13,8 +13,24 @@ on: | ||||
|       - master | ||||
|       - next | ||||
|       - v20* | ||||
|     paths: | ||||
|       - "modules" | ||||
|       - "Makefile" | ||||
|       - "scripts/**" | ||||
|       - "package/**" | ||||
|       - "patches/**" | ||||
|       - "targets/**" | ||||
|       - ".github/workflows/build-gluon.yml" | ||||
|   pull_request: | ||||
|     types: [opened, synchronize, reopened] | ||||
|     paths: | ||||
|       - "modules" | ||||
|       - "Makefile" | ||||
|       - "scripts/**" | ||||
|       - "package/**" | ||||
|       - "patches/**" | ||||
|       - "targets/**" | ||||
|       - ".github/workflows/build-gluon.yml" | ||||
| jobs: | ||||
|   build_firmware: | ||||
|     strategy: | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user