ci: Cancel in-progress CI runs if a new commit is pushed to the branch (#626)

This commit is contained in:
Nik Clayton 2024-04-15 21:34:12 +02:00 committed by GitHub
parent 016eedef0b
commit c171980e28
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 4 additions and 0 deletions

View File

@ -11,6 +11,10 @@ on:
permissions: read-all
concurrency:
group: ${{ github.workflow }}-${{ github.ref_name }}
cancel-in-progress: true
jobs:
# ktlintCheck does not have per-variant tasks, so runs once over everything
ktlint: