From 0d82f77752fad9f09125e706cf95a30876d36221 Mon Sep 17 00:00:00 2001 From: Okan Kocabalkanli Date: Thu, 7 Nov 2024 14:55:20 -0500 Subject: [PATCH] resolved deadlock --- .github/workflows/e2e-build.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/e2e-build.yml b/.github/workflows/e2e-build.yml index 2932fefd12..76452bb791 100644 --- a/.github/workflows/e2e-build.yml +++ b/.github/workflows/e2e-build.yml @@ -50,17 +50,21 @@ jobs: latest_sha=$(git rev-parse HEAD) echo "::set-output name=LATEST_SHA::$latest_sha" BuildAgent: + needs: [GetLatestCommitSHAs] uses: ./.github/workflows/build-test-artifacts.yml - secrets: inherit concurrency: - group: ${{ github.workflow }}-${{inputs.agent-branch}} + group: "Build-Test-Artifacts-${{ inputs.agent-branch}}" cancel-in-progress: true + secrets: inherit permissions: id-token: write contents: read BuildOperator: needs: [GetLatestCommitSHAs] uses: aws/amazon-cloudwatch-agent-operator/.github/workflows/build-and-upload-release.yml@main + concurrency: + group: ${{ github.workflow }}-operator-${{ inputs.operator-branch}} + cancel-in-progress: true secrets: inherit with: tag: ${{needs.GetLatestCommitSHAs.outputs.LATEST_SHA}}