diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 8c3a3d441e2f1..9afe6f75a6904 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -20,7 +20,7 @@ permissions: # additional changes concurrency: group: ${{ github.workflow }}-${{ github.ref }} - cancel-in-progress: ${{ github.event_name == 'pull_request' }} + cancel-in-progress: ${{ github.ref != 'refs/heads/main' }} jobs: changes: