]> 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:59:52 +0000 (22:59 +0000)
Signed-off-by: Stephen Finucane <stephen@that.guru>
(cherry picked from commit 09939ba107bde85e0b9df35c0dbbf90428789a94)

.github/workflows/ci.yaml

index 5fb784df30856d250da9525432857bf46ef06617..98a9583aeb9c5c3c271a17fd5c882db96b68e501 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