.github: cancel in progress workflows

This commit is contained in:
Elle Mouton 2025-03-04 19:46:33 +02:00
parent 06ca5f280f
commit a5aeebb11f
No known key found for this signature in database
GPG key ID: D7D916376026F177

View file

@ -8,6 +8,11 @@ on:
branches:
- "*"
concurrency:
# Cancel any previous workflows if they are from a PR or push.
group: ${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
defaults:
run:
shell: bash