ci: Cancel in-progress CI runs if a new commit is pushed to the branch (#626)
This commit is contained in:
parent
016eedef0b
commit
c171980e28
|
@ -11,6 +11,10 @@ on:
|
||||||
|
|
||||||
permissions: read-all
|
permissions: read-all
|
||||||
|
|
||||||
|
concurrency:
|
||||||
|
group: ${{ github.workflow }}-${{ github.ref_name }}
|
||||||
|
cancel-in-progress: true
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
# ktlintCheck does not have per-variant tasks, so runs once over everything
|
# ktlintCheck does not have per-variant tasks, so runs once over everything
|
||||||
ktlint:
|
ktlint:
|
||||||
|
|
Loading…
Reference in New Issue