From 659ee5d723e3af491b5a6842ba02351f1e5ed0d6 Mon Sep 17 00:00:00 2001 From: Wing Lian Date: Wed, 13 Nov 2024 17:07:41 -0500 Subject: [PATCH] don't cancel the tests on main automatically for concurrency (#2055) [skip ci] --- .github/workflows/tests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index dfdab7382..6b44317d9 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -18,7 +18,7 @@ on: # Cancel jobs on the same ref if a new one is triggered concurrency: group: ${{ github.workflow }}-${{ github.ref }} - cancel-in-progress: true + cancel-in-progress: ${{ github.ref != 'refs/heads/main' }} jobs: pre-commit: