diff --git a/.github/workflows/cultmesh-portability.yml b/.github/workflows/cultmesh-portability.yml index a346a410..4d4f66fe 100644 --- a/.github/workflows/cultmesh-portability.yml +++ b/.github/workflows/cultmesh-portability.yml @@ -8,6 +8,12 @@ on: pull_request: workflow_dispatch: +concurrency: + # A newer push or PR update replaces the older run on the same ref. Tag pushes and + # workflow_dispatch runs are never cancelled: a tag run carries a release. + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: ${{ github.event_name == 'pull_request' || (github.event_name == 'push' && !startsWith(github.ref, 'refs/tags/')) }} + jobs: reactive-and-resource-lifetime: name: ${{ matrix.os }} reactive semantics and leases diff --git a/.github/workflows/quic-native.yml b/.github/workflows/quic-native.yml index e9d6a3eb..6a4c9cdf 100644 --- a/.github/workflows/quic-native.yml +++ b/.github/workflows/quic-native.yml @@ -18,6 +18,12 @@ on: pull_request: workflow_dispatch: +concurrency: + # A newer push or PR update replaces the older run on the same ref. Tag pushes and + # workflow_dispatch runs are never cancelled: a tag run carries a release. + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: ${{ github.event_name == 'pull_request' || (github.event_name == 'push' && !startsWith(github.ref, 'refs/tags/')) }} + permissions: contents: read