From 18b50fe25990692421697b214c35440cbbf9f91e Mon Sep 17 00:00:00 2001 From: Rachael Booth Date: Wed, 6 Dec 2023 11:54:28 +0000 Subject: [PATCH] Ensure aws_deploy has different concurrency groups for different review apps (#2079) --- .github/workflows/aws_deploy.yml | 6 +++++- .github/workflows/review_pipeline.yml | 1 + 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/aws_deploy.yml b/.github/workflows/aws_deploy.yml index 75b63d6dd..7fea220d3 100644 --- a/.github/workflows/aws_deploy.yml +++ b/.github/workflows/aws_deploy.yml @@ -12,6 +12,10 @@ on: aws_task_prefix: required: true type: string + concurrency_tag: + required: false + type: string + default: "" environment: required: true type: string @@ -20,7 +24,7 @@ on: type: string concurrency: - group: deploy-${{ inputs.environment }} + group: deploy-${{ inputs.environment }}${{ inputs.concurrency_tag }} cancel-in-progress: true env: diff --git a/.github/workflows/review_pipeline.yml b/.github/workflows/review_pipeline.yml index bf2d1b0dc..a1c5e1e2e 100644 --- a/.github/workflows/review_pipeline.yml +++ b/.github/workflows/review_pipeline.yml @@ -33,6 +33,7 @@ jobs: aws_account_id: 837698168072 aws_role_prefix: core-dev aws_task_prefix: core-review-${{ github.event.pull_request.number }} + concurrency_tag: ${{ github.event.pull_request.number }} environment: review permissions: id-token: write