From 3f1bc67bf3a55859da3b9ea23483b44f58ab6082 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= Date: Fri, 8 Nov 2024 12:54:41 +0100 Subject: [PATCH] CI: Add concurrency rules --- .github/workflows/ci.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 809eb7ed..1876d05e 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -11,6 +11,10 @@ on: ## Every Monday at 2am. - cron: 0 2 * * 1 +concurrency: + group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} + cancel-in-progress: true + jobs: cleanup-master: name: Cleanup master build