don't cancel the tests on main automatically for concurrency (#2055) [skip ci]

This commit is contained in:
Wing Lian
2024-11-13 17:07:41 -05:00
committed by GitHub
parent 342935cff3
commit 659ee5d723

View File

@@ -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: