ci: concurrency-cancel on same-branch pushes #43

Closed
goldstein wants to merge 1 commit from fix/ci-concurrency into main
Showing only changes of commit f17ca00bbb - Show all commits

View file

@ -4,6 +4,13 @@ on:
push:
pull_request:
# Cancel any running CI for the same PR or branch when a new commit
# lands. The shared runner has capacity=1, so stacking obsolete runs
# just pushes useful ones to the back of the queue.
concurrency:
group: ci-${{ github.ref }}
cancel-in-progress: true
jobs:
test:
runs-on: docker