* ci: exempt master branch workflows from getting cancelled * apply to bench.yml
@@ -32,7 +32,7 @@ on:
- cron: '04 2 * * *'
concurrency:
- group: ${{ github.workflow }}-${{ github.ref }}-${{ github.event.inputs.sha }}
+ group: ${{ github.workflow }}-${{ github.head_ref && github.ref || github.run_id }}-${{ github.event.inputs.sha }}
cancel-in-progress: true
jobs:
@@ -16,7 +16,7 @@ on:
paths: ['**/CMakeLists.txt', '**/Makefile', '**/*.h', '**/*.hpp', '**/*.c', '**/*.cpp', '**/*.cu', '**/*.swift', '**/*.m']
- group: ${{ github.workflow }}-${{ github.ref }}
+ group: ${{ github.workflow }}-${{ github.head_ref && github.ref || github.run_id }}
env:
@@ -6,7 +6,7 @@ env:
GGML_N_THREADS: 1
- master
@@ -15,7 +15,7 @@ on:
@@ -18,7 +18,7 @@ on:
paths: ['**/*.nix', 'flake.lock']
@@ -9,7 +9,7 @@ on:
types: [opened, synchronize, reopened]
@@ -17,7 +17,7 @@ on:
- 'requirements/*.txt'
@@ -3,7 +3,7 @@ name: flake8 Lint
on: [push, pull_request]
@@ -23,7 +23,7 @@ on:
- cron: '2 4 * * *'
@@ -7,7 +7,7 @@ on: