diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 26be94d..3aa9995 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -11,7 +11,11 @@ permissions: contents: read concurrency: - group: ${{ github.workflow }}-${{ github.ref }} + # Each push to main gets its own group, so merges never cancel each other + # and main keeps a complete CI record. All other events keep the per-ref + # group and still supersede older runs. + group: >- + ${{ github.workflow }}-${{ github.event_name == 'push' && github.sha || github.ref }} cancel-in-progress: true jobs: