diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index e7a652f3004..5134dbd372f 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -11,6 +11,10 @@ on: branches: - main +concurrency: + group: ${{ github.head_ref || github.run_id }} + cancel-in-progress: true + jobs: linux-main-checks: # https://github.com/actions/virtual-environments#available-environments