]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commitdiff
ci: apply concurrency limit for github workflows (#6243)
authorMinsoo Cheong <redacted>
Fri, 22 Mar 2024 17:15:06 +0000 (02:15 +0900)
committerGitHub <redacted>
Fri, 22 Mar 2024 17:15:06 +0000 (19:15 +0200)
.github/workflows/build.yml
.github/workflows/code-coverage.yml
.github/workflows/docker.yml
.github/workflows/editorconfig.yml
.github/workflows/nix-ci-aarch64.yml
.github/workflows/nix-ci.yml
.github/workflows/python-check-requirements.yml
.github/workflows/python-lint.yml
.github/workflows/server.yml
.github/workflows/zig-build.yml

index 469d8116562e72ea4396a8f89c9c070698a43e52..7711bd8d8c470ffef2aa025385b336035f324369 100644 (file)
@@ -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
index 392db8a089ac5a1c667c677bd5c8f836d8f46455..4112518bb813c27e090916f85acdf0dd4f1c44b5 100644 (file)
@@ -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
index 94f9161fc5547dd28d7360f326f7aab4ba98adb8..9591bfc2a5d3b44411de8c8a1c443f11887e47e9 100644 (file)
@@ -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
index 0e0993cd41c16312a1eef03f3bfcfbfec4735dd4..7b2a00c9042377110f7f7f5ea291a0d025381fc5 100644 (file)
@@ -14,6 +14,10 @@ on:
     branches:
       - master
 
+concurrency:
+  group: ${{ github.workflow }}-${{ github.ref }}
+  cancel-in-progress: true
+
 jobs:
   editorconfig:
     runs-on: ubuntu-latest
index 8d0a3fd7fd313486d3d330d1f915b40749b5412d..109a793ea438722cff18769e61ee448d2520e5e3 100644 (file)
@@ -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
index 01c5a9d5aaca2fa3eb647780d1a188ea21f6e5e2..8b5b99c8f8e1773d141dea36b476087171beaf31 100644 (file)
@@ -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:
index b822059923ebe64629565ab2d43ac0af5b0efa5e..4092b12fa9930ee5cede306380cd747b8a4c9545 100644 (file)
@@ -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
index ea0a05ea1a014f6709055ba74323bf67e0f70d26..4bdd79c4a0b198f270c16b38a3b385dc4a4c1ce0 100644 (file)
@@ -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
index 65ca7d9ca3ae9e1e8a94f003b6b76f04e043fc76..b74dc5e2114d80dc9e4365ea9661143216133f59 100644 (file)
@@ -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
index 68a698ab94f551f3ddb9997744792583bf5c07d5..cb43954eb452d8a36340e7e51a66335b196ea1a8 100644 (file)
@@ -6,6 +6,10 @@ on:
     branches:
       - master
 
+concurrency:
+  group: ${{ github.workflow }}-${{ github.ref }}
+  cancel-in-progress: true
+
 jobs:
   build:
     strategy: