mirror of
https://github.com/flatcar/scripts.git
synced 2025-09-22 14:11:07 +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
9ba0c27cb2
commit
59e7b31778
4
.github/workflows/ci.yaml
vendored
4
.github/workflows/ci.yaml
vendored
@ -32,6 +32,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