From c2a2f86755a90af0af9c109112b52258e3c77021 Mon Sep 17 00:00:00 2001 From: Simon Thulbourn Date: Thu, 5 Sep 2024 10:30:31 +0200 Subject: [PATCH] chore(ci): allow sar beta app (#5109) Co-authored-by: Leandro Damascena --- .github/workflows/publish_v3_layer.yml | 36 +++++++++++++------------- 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/.github/workflows/publish_v3_layer.yml b/.github/workflows/publish_v3_layer.yml index d358fee6ef..768a17a4d4 100644 --- a/.github/workflows/publish_v3_layer.yml +++ b/.github/workflows/publish_v3_layer.yml @@ -187,28 +187,28 @@ jobs: # source_code_artifact_name: ${{ inputs.source_code_artifact_name }} # source_code_integrity_hash: ${{ inputs.source_code_integrity_hash }} - #sar-beta: - # needs: beta # canaries run on Layer Beta env - # permissions: - # # lower privilege propagated from parent workflow (release.yml) - # id-token: write - # contents: read - # pull-requests: none - # pages: none - # uses: ./.github/workflows/reusable_deploy_v3_sar.yml - # secrets: inherit - # with: - # stage: "BETA" - # environment: "layer-beta" - # package-version: ${{ inputs.latest_published_version }} - # source_code_artifact_name: ${{ inputs.source_code_artifact_name }} - # source_code_integrity_hash: ${{ inputs.source_code_integrity_hash }} + sar-beta: + needs: beta # canaries run on Layer Beta env + permissions: + # lower privilege propagated from parent workflow (release.yml) + id-token: write + contents: read + pull-requests: none + pages: none + uses: ./.github/workflows/reusable_deploy_v3_sar.yml + secrets: inherit + with: + stage: "BETA" + environment: "layer-beta" + package-version: ${{ inputs.latest_published_version }} + source_code_artifact_name: ${{ inputs.source_code_artifact_name }} + source_code_integrity_hash: ${{ inputs.source_code_integrity_hash }} # UNCOMMENT sar-prod JOB - #sar-prod: + # sar-prod: # needs: sar-beta # permissions: - # lower privilege propagated from parent workflow (release.yml) + # lower privilege propagated from parent workflow (release.yml) # id-token: write # contents: read # pull-requests: none