From fad9297dcfa3fc4e333398e9f1af7a12fcf287fc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Krystian=20Paw=C5=82ow?= Date: Mon, 26 Oct 2026 13:56:44 +0100 Subject: [PATCH] Cancel superseded pull request runs of CI --- .github/workflows/ci.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 96ba74a..4367943 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -9,6 +9,11 @@ on: permissions: contents: read +# A new push to a pull request cancels its older run; runs on main, tags and schedules never cancel one another. +concurrency: + group: ${{ github.workflow }}-${{ github.event_name == 'pull_request' && github.ref || github.sha }} + cancel-in-progress: ${{ github.event_name == 'pull_request' }} + jobs: test: name: Test (${{ matrix.arch }})