ci: apply concurrency limit for github workflows (#6243)
This commit is contained in:
		
							parent
							
								
									80bd33bc2c
								
							
						
					
					
						commit
						ee804f6223
					
				
					 10 changed files with 40 additions and 0 deletions
				
			
		
							
								
								
									
										4
									
								
								.github/workflows/build.yml
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										4
									
								
								.github/workflows/build.yml
									
										
									
									
										vendored
									
									
								
							|  | @ -15,6 +15,10 @@ on: | |||
|     types: [opened, synchronize, reopened] | ||||
|     paths: ['**/CMakeLists.txt', '**/Makefile', '**/*.h', '**/*.hpp', '**/*.c', '**/*.cpp', '**/*.cu', '**/*.swift', '**/*.m'] | ||||
| 
 | ||||
| concurrency: | ||||
|   group: ${{ github.workflow }}-${{ github.ref }} | ||||
|   cancel-in-progress: true | ||||
| 
 | ||||
| env: | ||||
|   BRANCH_NAME: ${{ github.head_ref || github.ref_name }} | ||||
|   GGML_NLOOP: 3 | ||||
|  |  | |||
							
								
								
									
										4
									
								
								.github/workflows/code-coverage.yml
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										4
									
								
								.github/workflows/code-coverage.yml
									
										
									
									
										vendored
									
									
								
							|  | @ -5,6 +5,10 @@ env: | |||
|   GGML_NLOOP: 3 | ||||
|   GGML_N_THREADS: 1 | ||||
| 
 | ||||
| concurrency: | ||||
|   group: ${{ github.workflow }}-${{ github.ref }} | ||||
|   cancel-in-progress: true | ||||
| 
 | ||||
| jobs: | ||||
|   run: | ||||
|     runs-on: ubuntu-20.04 | ||||
|  |  | |||
							
								
								
									
										4
									
								
								.github/workflows/docker.yml
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										4
									
								
								.github/workflows/docker.yml
									
										
									
									
										vendored
									
									
								
							|  | @ -15,6 +15,10 @@ on: | |||
|     branches: | ||||
|       - master | ||||
| 
 | ||||
| concurrency: | ||||
|   group: ${{ github.workflow }}-${{ github.ref }} | ||||
|   cancel-in-progress: true | ||||
| 
 | ||||
| jobs: | ||||
|   push_to_registry: | ||||
|     name: Push Docker image to Docker Hub | ||||
|  |  | |||
							
								
								
									
										4
									
								
								.github/workflows/editorconfig.yml
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										4
									
								
								.github/workflows/editorconfig.yml
									
										
									
									
										vendored
									
									
								
							|  | @ -14,6 +14,10 @@ on: | |||
|     branches: | ||||
|       - master | ||||
| 
 | ||||
| concurrency: | ||||
|   group: ${{ github.workflow }}-${{ github.ref }} | ||||
|   cancel-in-progress: true | ||||
| 
 | ||||
| jobs: | ||||
|   editorconfig: | ||||
|     runs-on: ubuntu-latest | ||||
|  |  | |||
							
								
								
									
										4
									
								
								.github/workflows/nix-ci-aarch64.yml
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										4
									
								
								.github/workflows/nix-ci-aarch64.yml
									
										
									
									
										vendored
									
									
								
							|  | @ -17,6 +17,10 @@ on: | |||
|     types: [opened, synchronize, reopened] | ||||
|     paths: ['**/*.nix', 'flake.lock'] | ||||
| 
 | ||||
| concurrency: | ||||
|   group: ${{ github.workflow }}-${{ github.ref }} | ||||
|   cancel-in-progress: true | ||||
| 
 | ||||
| jobs: | ||||
|   nix-build-aarch64: | ||||
|     runs-on: ubuntu-latest | ||||
|  |  | |||
							
								
								
									
										4
									
								
								.github/workflows/nix-ci.yml
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										4
									
								
								.github/workflows/nix-ci.yml
									
										
									
									
										vendored
									
									
								
							|  | @ -8,6 +8,10 @@ on: | |||
|   pull_request: | ||||
|     types: [opened, synchronize, reopened] | ||||
| 
 | ||||
| concurrency: | ||||
|   group: ${{ github.workflow }}-${{ github.ref }} | ||||
|   cancel-in-progress: true | ||||
| 
 | ||||
| jobs: | ||||
|   nix-eval: | ||||
|     strategy: | ||||
|  |  | |||
|  | @ -16,6 +16,10 @@ on: | |||
|       - 'requirements.txt' | ||||
|       - 'requirements/*.txt' | ||||
| 
 | ||||
| concurrency: | ||||
|   group: ${{ github.workflow }}-${{ github.ref }} | ||||
|   cancel-in-progress: true | ||||
| 
 | ||||
| jobs: | ||||
|   python-check-requirements: | ||||
|     runs-on: ubuntu-latest | ||||
|  |  | |||
							
								
								
									
										4
									
								
								.github/workflows/python-lint.yml
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										4
									
								
								.github/workflows/python-lint.yml
									
										
									
									
										vendored
									
									
								
							|  | @ -2,6 +2,10 @@ name: flake8 Lint | |||
| 
 | ||||
| on: [push, pull_request] | ||||
| 
 | ||||
| concurrency: | ||||
|   group: ${{ github.workflow }}-${{ github.ref }} | ||||
|   cancel-in-progress: true | ||||
| 
 | ||||
| jobs: | ||||
|   flake8-lint: | ||||
|     runs-on: ubuntu-latest | ||||
|  |  | |||
							
								
								
									
										4
									
								
								.github/workflows/server.yml
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										4
									
								
								.github/workflows/server.yml
									
										
									
									
										vendored
									
									
								
							|  | @ -18,6 +18,10 @@ on: | |||
|   schedule: | ||||
|     -  cron: '0 0 * * *' | ||||
| 
 | ||||
| concurrency: | ||||
|   group: ${{ github.workflow }}-${{ github.ref }} | ||||
|   cancel-in-progress: true | ||||
| 
 | ||||
| jobs: | ||||
|   server: | ||||
|     runs-on: ubuntu-latest | ||||
|  |  | |||
							
								
								
									
										4
									
								
								.github/workflows/zig-build.yml
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										4
									
								
								.github/workflows/zig-build.yml
									
										
									
									
										vendored
									
									
								
							|  | @ -6,6 +6,10 @@ on: | |||
|     branches: | ||||
|       - master | ||||
| 
 | ||||
| concurrency: | ||||
|   group: ${{ github.workflow }}-${{ github.ref }} | ||||
|   cancel-in-progress: true | ||||
| 
 | ||||
| jobs: | ||||
|   build: | ||||
|     strategy: | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue