diff --git a/.github/workflows/python.yml b/.github/workflows/python.yml index 76bdc10..0c6f091 100644 --- a/.github/workflows/python.yml +++ b/.github/workflows/python.yml @@ -4,10 +4,11 @@ on: push: pull_request: -# Superseded runs on the same ref are cancelled (e.g. rapid amend-pushes) +# Superseded runs on the same ref are cancelled (e.g. rapid amend-pushes), +# except on main, where every merge keeps its own CI run concurrency: group: ${{ github.workflow }}-${{ github.ref }} - cancel-in-progress: true + cancel-in-progress: ${{ github.ref != 'refs/heads/main' }} jobs: detect-packages: diff --git a/.github/workflows/typescript.yml b/.github/workflows/typescript.yml index e56ddd9..8d1b81e 100644 --- a/.github/workflows/typescript.yml +++ b/.github/workflows/typescript.yml @@ -4,10 +4,11 @@ on: push: pull_request: -# Superseded runs on the same ref are cancelled (e.g. rapid amend-pushes) +# Superseded runs on the same ref are cancelled (e.g. rapid amend-pushes), +# except on main, where every merge keeps its own CI run concurrency: group: ${{ github.workflow }}-${{ github.ref }} - cancel-in-progress: true + cancel-in-progress: ${{ github.ref != 'refs/heads/main' }} jobs: detect-packages: