From 71cb8931a05ba2ad622daed349a5d59a0257f361 Mon Sep 17 00:00:00 2001 From: Luc Grosheintz Date: Sat, 15 Mar 2025 11:48:44 +0100 Subject: [PATCH] Only cancel doc CI on `main`. Currently, the CI to build and deploy the documentation is cancelled by any other run that starts this workflow. Since it only checks that the docs build on anything other than `main`, we only need it to cancel concurrent runs for `main`. --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0480c7c0..e0f80880 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -2,7 +2,7 @@ name: Unit Tests concurrency: group: ${{ github.workflow }}#${{ github.ref }} - cancel-in-progress: true + cancel-in-progress: ${{ github.ref == 'main' }} on: push: