]> git.ipfire.org Git - thirdparty/patchwork.git/commitdiff
CI: Cancel builds upon a new push
authorStephen Finucane <stephen@that.guru>
Thu, 31 Oct 2024 22:18:20 +0000 (22:18 +0000)
committerStephen Finucane <stephen@that.guru>
Thu, 31 Oct 2024 22:18:20 +0000 (22:18 +0000)
Signed-off-by: Stephen Finucane <stephen@that.guru>
.github/workflows/ci.yaml

index 10a302e56dce452fe057e432ecb88d325fc6953d..dbcdd3bee74ee67bae20764e3de26cbed1f0eb33 100644 (file)
@@ -3,6 +3,9 @@ name: CI
 on:
   - push
   - pull_request
+concurrency:
+  group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
+  cancel-in-progress: true
 jobs:
   lint:
     name: Run linters