]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
github-ci: cancel previous job for all workflows
authorJason Ish <jason.ish@oisf.net>
Mon, 12 Feb 2024 21:13:30 +0000 (15:13 -0600)
committerVictor Julien <victor@inliniac.net>
Tue, 13 Feb 2024 09:58:58 +0000 (10:58 +0100)
Previously only enabled in build.yml, apply cancen-in-progress to all
workflow files.

.github/workflows/authors.yml
.github/workflows/cifuzz.yml
.github/workflows/codeql.yml
.github/workflows/commits.yml
.github/workflows/formatting.yml
.github/workflows/rust.yml
.github/workflows/scan-build.yml
.github/workflows/scorecards-analysis.yml

index b7efe1186446682d7d361bd2ad83f7051a08ce65..77bb2614de2409559d7046f537131f9ae1261994 100644 (file)
@@ -3,6 +3,10 @@ name: New Authors Check
 on:
   pull_request:
 
+concurrency:
+  group: ${{ github.workflow }}-${{ github.ref }}
+  cancel-in-progress: true
+
 jobs:
   check-id:
     name: New Author Check
index c9816e1e5497115b454ca5da5af7efcd67e1420a..5ebcb6d1cf566787f7fa71dc535976ebfd58555d 100644 (file)
@@ -5,6 +5,10 @@ on:
     paths-ignore:
       - "doc/**"
 
+concurrency:
+  group: ${{ github.workflow }}-${{ github.ref }}
+  cancel-in-progress: true
+
 permissions: read-all
 jobs:
  Fuzzing:
index c59b71212851956ebb59d5cbc900185449d99420..31be87c39da0394832b71d3aa6e328f0b938f4df 100644 (file)
@@ -13,6 +13,10 @@ on:
   schedule:
     - cron: '18 21 * * 1'
 
+concurrency:
+  group: ${{ github.workflow }}-${{ github.ref }}
+  cancel-in-progress: true
+
 jobs:
   analyze:
     name: Analyze
index 1ca2a48c5875ba7398be7cf675a8b56537fd4b51..7d1d87350bf87621537f474e23f184eef0713742 100644 (file)
@@ -5,6 +5,10 @@ on:
 
 permissions: read-all
 
+concurrency:
+  group: ${{ github.workflow }}-${{ github.ref }}
+  cancel-in-progress: true
+
 env:
   DEBIAN_FRONTEND: "noninteractive"
 
index ca3ddc87c8948c398c611d4b50346d9044d212fa..5adf1dd86f2e9fec614fc363943383263d2e1d8c 100644 (file)
@@ -12,6 +12,10 @@ on:
     paths-ignore:
       - "doc/**"
 
+concurrency:
+  group: ${{ github.workflow }}-${{ github.ref }}
+  cancel-in-progress: true
+
 permissions: read-all
 
 env:
index 0b38f36ae426d65e667212b692881fad1b57205a..eebf43c13eb8e3a59bf2b299446ede94b1b41285 100644 (file)
@@ -11,6 +11,10 @@ on:
 permissions:
   contents: read #  to fetch code (actions/checkout)
 
+concurrency:
+  group: ${{ github.workflow }}-${{ github.ref }}
+  cancel-in-progress: true
+
 jobs:
   check-rust:
     name: Check Rust
index 480970658205aedff0b30b36d619796319b9526e..f0df97e7c80e82485b8488ae2f843faa0c6d15ba 100644 (file)
@@ -8,6 +8,10 @@ on:
     paths-ignore:
       - "doc/**"
 
+concurrency:
+  group: ${{ github.workflow }}-${{ github.ref }}
+  cancel-in-progress: true
+
 jobs:
   scan-build:
     name: Scan-build
index 66647b239e21f7d0eaffd4a1341a4ac9481f9f4b..f63517641bb01d8f7d37ceaee345a6e42ecafcd6 100644 (file)
@@ -7,6 +7,10 @@ on:
   push:
     branches: [ master ]
 
+concurrency:
+  group: ${{ github.workflow }}-${{ github.ref }}
+  cancel-in-progress: true
+
 # Declare default permissions as read only.
 permissions: read-all