mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Setup workflow job concurrency.
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
This commit is contained in:
parent
bc448c0d7b
commit
eeb5fa197c
1 changed files with 8 additions and 0 deletions
8
.github/workflows/ci.yml
vendored
8
.github/workflows/ci.yml
vendored
|
@ -7,6 +7,14 @@ on:
|
|||
permissions:
|
||||
contents: read
|
||||
|
||||
concurrency:
|
||||
# Concurrency is defined in a way that concurrent builds against branches do
|
||||
# not cancel previous builds.
|
||||
# However, for every new build against the same pull request source branch,
|
||||
# all older builds against that same branch get canceled.
|
||||
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
|
||||
cancel-in-progress: true
|
||||
|
||||
jobs:
|
||||
get-changed-files:
|
||||
name: Get Changed Files
|
||||
|
|
Loading…
Add table
Reference in a new issue