From 3782dafa0767cad0535fcfa17368f6583c7a1c5a Mon Sep 17 00:00:00 2001 From: Ho Man Chan Date: Wed, 20 Mar 2024 08:05:20 -0400 Subject: [PATCH] chore: update bedrock trigger with environment variables (#1197) * chore: update bedrock trigger with environment variables * fix: update trigger bedrok update github action job environment variable to use sqs to sns. --- .github/workflows/standards-and-tests.yml | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/.github/workflows/standards-and-tests.yml b/.github/workflows/standards-and-tests.yml index b63a8e161..de8ac8728 100644 --- a/.github/workflows/standards-and-tests.yml +++ b/.github/workflows/standards-and-tests.yml @@ -105,7 +105,10 @@ jobs: - name: Trigger Bedrock Update if: (github.ref == 'refs/heads/dev' || github.ref == 'refs/heads/production') && matrix.experimental == false uses: pressbooks/composer-autoupdate-bedrock@main - with: - triggered-by: ${{ github.repository }} - token: ${{ secrets.PAT_COMPOSER_UPDATE }} - branch: ${{ github.ref }} + env: + AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} + AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} + AWS_SNS_ARN_DEV: ${{ secrets.AWS_SNS_ARN_DEV }} + AWS_SNS_ARN_STAGING: ${{ secrets.AWS_SNS_ARN_STAGING }} + INPUT_TRIGGERED_BY: ${{ github.repository }} + INPUT_BRANCH: ${{ github.ref }}