From e7c0e2cd822899c0a9c9794d75f6acc1d2be117a Mon Sep 17 00:00:00 2001 From: Kris Austin Date: Thu, 1 Oct 2026 08:34:13 -0500 Subject: [PATCH] ci: let main builds finish instead of cancelling them on every merge (#16044) --- .github/workflows/build_all.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build_all.yml b/.github/workflows/build_all.yml index d45ec215b8..54170794c8 100644 --- a/.github/workflows/build_all.yml +++ b/.github/workflows/build_all.yml @@ -56,7 +56,9 @@ on: concurrency: group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.event.pull_request.number || github.ref }} - cancel-in-progress: true + # Pushes don't cancel a running build, because only a finished branch build + # saves caches every pull request can restore. + cancel-in-progress: ${{ github.event_name == 'pull_request' }} jobs: