Skip to content

Commit 3cb6013

Browse files
authored
chore: update bedrock trigger with environment variables (#149)
* chore: update bedrock trigger with environment variables * fix: update trigger bedrok update github action job environment variable to use sqs to sns.
1 parent c70744b commit 3cb6013

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

.github/workflows/standards-and-test.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,10 @@ jobs:
103103
- name: Trigger Bedrock Update
104104
if: (github.ref == 'refs/heads/dev' || github.ref == 'refs/heads/production') && matrix.experimental == false
105105
uses: pressbooks/composer-autoupdate-bedrock@main
106-
with:
107-
triggered-by: ${{ github.repository }}
108-
token: ${{ secrets.PAT_COMPOSER_UPDATE }}
109-
branch: ${{ github.ref }}
106+
env:
107+
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
108+
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
109+
AWS_SNS_ARN_DEV: ${{ secrets.AWS_SNS_ARN_DEV }}
110+
AWS_SNS_ARN_STAGING: ${{ secrets.AWS_SNS_ARN_STAGING }}
111+
INPUT_TRIGGERED_BY: ${{ github.repository }}
112+
INPUT_BRANCH: ${{ github.ref }}

0 commit comments

Comments
 (0)