mirror of
https://github.com/flatcar/scripts.git
synced 2026-05-04 19:56:32 +02:00
Add concurency setting to CI workflow
This change will prompt the CI workflow to cancel a currently running job, if a new push is sent in a PR. This should prevent duplicate jobs running for the same PR simultaneously. Signed-off-by: Gabriel Adrian Samfira <gsamfira@cloudbasesolutions.com>
This commit is contained in:
parent
425d72f836
commit
568522d182
4
.github/workflows/ci.yaml
vendored
4
.github/workflows/ci.yaml
vendored
@ -33,6 +33,10 @@ on:
|
||||
This is the ref we will use to pull the changes from the coreos_remote.
|
||||
required: false
|
||||
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.head_ref || github.ref_name }}
|
||||
cancel-in-progress: true
|
||||
|
||||
permissions: {}
|
||||
|
||||
jobs:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user