diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index bd78c822859148062e379a44a09d529bd6c53b73..485c35c74df6f0e0e083c9d4b0aa0aab11921743 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -26,7 +26,7 @@ permissions: concurrency: group: ${{ github.workflow }}-${{ github.event.number || github.ref }} - cancel-in-progress: true + cancel-in-progress: ${{ github.ref_name != 'main' }} env: # Currently no way to detect automatically (#8153)