diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6441f00..331a582 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -43,6 +43,16 @@ on: permissions: contents: read +# Two pushes in a row should not queue two full gate runs behind each other. +# cancel-in-progress is deliberately false: a run that finishes is the evidence +# a merge decision gets read later, and cancelling the run that is already +# executing throws that away to save nothing. GitHub keeps the newest pending +# run and drops the ones still waiting behind it, which is the part worth +# dropping. +concurrency: + group: ci-${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: false + env: DOTNET_NOLOGO: "1" DOTNET_CLI_TELEMETRY_OPTOUT: "1"