]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
github-ci: cancel previous builds workflow for branch
authorJason Ish <jason.ish@oisf.net>
Wed, 15 Nov 2023 20:48:40 +0000 (14:48 -0600)
committerVictor Julien <victor@inliniac.net>
Fri, 17 Nov 2023 21:24:14 +0000 (22:24 +0100)
On a push of the same branch, cancel the previous running builds.yml
workflow.

.github/workflows/builds.yml

index 62748b10e985229988992c0dd7f849eb909cb67e..adb2a7f2330e29467baa59038bde80c301c0a245 100644 (file)
@@ -12,6 +12,10 @@ on:
       SV_REPO:
       SV_BRANCH:
 
+concurrency:
+  group: ${{ github.workflow }}-${{ github.ref }}
+  cancel-in-progress: true
+
 permissions: read-all
 
 env: