Skip to content

Commit e939396

Browse files
authored
chore: update bedrock trigger workflow with environment variables (#72)
* chore: update bedrock trigger with environment variables * fix: remove unneeded idea * fix: update trigger bedrok update github action job environment variable to use sqs to sns.
1 parent 88a2a94 commit e939396

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

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

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,11 @@ jobs:
9494

9595
- name: Trigger Bedrock Update
9696
if: github.ref == 'refs/heads/dev' && matrix.experimental == false
97-
uses: pressbooks/composer-autoupdate-bedrock@v1
98-
with:
99-
triggered-by: ${{ github.repository }}
100-
token: ${{ secrets.PAT_COMPOSER_UPDATE }}
97+
uses: pressbooks/composer-autoupdate-bedrock@main
98+
env:
99+
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
100+
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
101+
AWS_SNS_ARN_DEV: ${{ secrets.AWS_SNS_ARN_DEV }}
102+
AWS_SNS_ARN_STAGING: ${{ secrets.AWS_SNS_ARN_STAGING }}
103+
INPUT_TRIGGERED_BY: ${{ github.repository }}
104+
INPUT_BRANCH: ${{ github.ref }}

0 commit comments

Comments
 (0)