diff --git a/.github/workflows/builder.yml b/.github/workflows/builder.yml index 140de3b00..758d7b017 100644 --- a/.github/workflows/builder.yml +++ b/.github/workflows/builder.yml @@ -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 diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 75176eb20..64e57ad47 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -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