diff --git a/.github/workflows/porter-canary.yml b/.github/workflows/porter-canary.yml index f24d2729f..e37cdd815 100644 --- a/.github/workflows/porter-canary.yml +++ b/.github/workflows/porter-canary.yml @@ -4,6 +4,15 @@ on: branches: - main - release/* + +# This configuration ensures that multiple canary releases don't run at the same time: +# - The 'group' combines the workflow name and git reference to create a unique identifier +# - 'cancel-in-progress: false' means if a new release is triggered, it will wait in line +# instead of canceling any running release +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: false + jobs: build_pipelinesrelease_template: name: build_pipelinesrelease_template diff --git a/.github/workflows/porter-release.yml b/.github/workflows/porter-release.yml index 3e909a190..77fcfcdc9 100644 --- a/.github/workflows/porter-release.yml +++ b/.github/workflows/porter-release.yml @@ -6,6 +6,14 @@ on: - "!latest*" - "!canary*" +# This configuration ensures that multiple releases don't run at the same time: +# - The 'group' combines the workflow name and git reference to create a unique identifier +# - 'cancel-in-progress: false' means if a new release is triggered, it will wait in line +# instead of canceling any running release +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: false + jobs: build_pipelinesrelease_template: name: build_pipelinesrelease_template