Browse Source

Ensure aws_deploy has different concurrency groups for different review apps (#2079)

pull/2076/head
Rachael Booth 1 year ago committed by GitHub
parent
commit
18b50fe259
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 6
      .github/workflows/aws_deploy.yml
  2. 1
      .github/workflows/review_pipeline.yml

6
.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:

1
.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

Loading…
Cancel
Save