Cancel previous runs for a workflow if another is started in the same pr (#61)

This commit is contained in:
Caedis
2026-03-05 07:28:44 +01:00
committed by GitHub
parent 9d88467a59
commit 23113b1bb8
3 changed files with 12 additions and 0 deletions
+4
View File
@@ -22,6 +22,10 @@ on:
default: false
type: boolean
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
build-and-test:
runs-on: ubuntu-24.04