]> git.ipfire.org Git - thirdparty/zlib-ng.git/commitdiff
Cancel previously running CI jobs for PR or branch.
authorNathan Moinvaziri <nathan@nathanm.com>
Fri, 29 Dec 2023 00:55:44 +0000 (16:55 -0800)
committerHans Kristian Rosbach <hk-github@circlestorm.org>
Fri, 29 Dec 2023 21:33:00 +0000 (22:33 +0100)
.github/workflows/analyze.yml
.github/workflows/cmake.yml
.github/workflows/codeql.yml
.github/workflows/configure.yml
.github/workflows/fuzz.yml
.github/workflows/libpng.yml
.github/workflows/link.yml
.github/workflows/nmake.yml
.github/workflows/pigz.yml
.github/workflows/pkgcheck.yml

index 8e4cdc3032ca56a92b10e3a62aca73b7cf6d6257..40315e7dcd81e61f8995b165a69862137f377953 100644 (file)
@@ -1,5 +1,8 @@
 name: Static Analysis
 on: [push, pull_request]
+concurrency:
+  group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
+  cancel-in-progress: true
 jobs:
   static-analysis:
     name: GCC
index dfda736770848cd019020c3e7484f14488a79dcc..8c3c9a7b319210399df6fbdc9a5446a937cd74df 100644 (file)
@@ -3,6 +3,9 @@ on: [push, pull_request]
 env:
   TERM: xterm-256color
   GTEST_COLOR: 1
+concurrency:
+  group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
+  cancel-in-progress: true
 jobs:
   cmake:
     name: ${{ matrix.name }}
index 76f838178c39555dffa72eefe85ca955cdfab00d..2b48d3df758cb33afb7cd4fd6de16f563768926b 100644 (file)
@@ -1,5 +1,4 @@
 name: "CodeQL"
-
 on:
   push:
     branches: [ "develop" ]
@@ -7,7 +6,9 @@ on:
     branches: [ "develop" ]
   schedule:
     - cron: "27 17 * * 0"
-
+concurrency:
+  group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
+  cancel-in-progress: true
 jobs:
   analyze:
     name: Analyze
index 15d35f081e0f1dcd652fb029dc108dcaf11af5ef..46531185353fc0eebe4b2fadc4642fa0d60e9383 100644 (file)
@@ -1,5 +1,8 @@
 name: Configure
 on: [push, pull_request]
+concurrency:
+  group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
+  cancel-in-progress: true
 jobs:
   configure:
     name: ${{ matrix.name }}
index 95d64e67aef2d2cc0849eef0d43aeb43c7e04b20..6525f84c5eaaed4a9e704abeaa865e5167957ae9 100644 (file)
@@ -9,7 +9,9 @@ on:
       - '2.*'
     tags:
       - '*'
-
+concurrency:
+  group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
+  cancel-in-progress: true
 jobs:
   fuzzing:
     name: Fuzzing
index 616401a49e000e8307e7e47d66a97e09e5a0a19c..a15939429e98e8db0e360afe7d5e46199f12491e 100644 (file)
@@ -1,5 +1,8 @@
 name: Libpng
 on: [push, pull_request]
+concurrency:
+  group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
+  cancel-in-progress: true
 jobs:
   libpng:
     name: Ubuntu Clang
index 1c0ee54462cb3d4ebd0060202f8a454623f436ed..9c4291601428961b0cdb0aa5a251f10acd0506d5 100644 (file)
@@ -1,5 +1,8 @@
 name: Link
 on: [push, pull_request]
+concurrency:
+  group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
+  cancel-in-progress: true
 jobs:
   zlib:
     name: Link zlib
index 3176552c775cc8333d396bd89fc2afdff438ee23..a22ba468a09f50ee4c3a89982faced37c2b51d9a 100644 (file)
@@ -1,5 +1,8 @@
 name: NMake
 on: [push, pull_request]
+concurrency:
+  group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
+  cancel-in-progress: true
 jobs:
   nmake:
     name: ${{ matrix.name }}
index 534739e11121b834cfbbea68eabd563e9f205a35..f1147a4e6ecb9683fad8d6a80f23842ba55d1140 100644 (file)
@@ -1,5 +1,8 @@
 name: Pigz
 on: [push, pull_request]
+concurrency:
+  group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
+  cancel-in-progress: true
 jobs:
   pigz:
     name: ${{ matrix.name }}
index b2300dedccd629f3215e4f448a7a6c8d8f428543..b2f952035b998b837f10815e303cfd0ef273478b 100644 (file)
@@ -1,5 +1,8 @@
 name: Package Check
 on: [push, pull_request]
+concurrency:
+  group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
+  cancel-in-progress: true
 jobs:
   pkgcheck:
     name: ${{ matrix.name }}