Add action concurrency (#3956)

This commit is contained in:
Joakim Sørensen 2022-10-17 08:04:38 +02:00 committed by GitHub
parent 7a0c4c5060
commit 10c87d5a39
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 0 deletions

View File

@ -37,6 +37,10 @@ env:
BUILD_NAME: supervisor
BUILD_TYPE: supervisor
concurrency:
group: '${{ github.workflow }}-${{ github.ref }}'
cancel-in-progress: true
jobs:
init:
name: Initialize build

View File

@ -12,6 +12,10 @@ env:
PRE_COMMIT_HOME: ~/.cache/pre-commit
DEFAULT_CAS: v1.0.2
concurrency:
group: '${{ github.workflow }}-${{ github.ref }}'
cancel-in-progress: true
jobs:
# Separate job to pre-populate the base dependency cache
# This prevent upcoming jobs to do the same individually