Skip to content

Commit 92a516b

Browse files
authored
Fix automation action (#262)
1 parent 5539a5a commit 92a516b

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

.github/workflows/update-docs.yml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,16 @@ jobs:
1818
DOCS_OVERRIDES: docs-data/overrides.json
1919

2020
steps:
21+
- uses: aws-actions/configure-aws-credentials@v4
22+
with:
23+
aws-region: ${{ vars.RP_AWS_CRED_REGION }}
24+
role-to-assume: arn:aws:iam::${{ secrets.RP_AWS_CRED_ACCOUNT_ID }}:role/${{ vars.RP_AWS_CRED_BASE_ROLE_NAME }}${{ github.event.repository.name }}
25+
- uses: aws-actions/aws-secretsmanager-get-secrets@v2
26+
with:
27+
secret-ids: |
28+
,sdlc/prod/github/actions_bot_token
29+
parse-json-secrets: true
30+
2131
- name: Checkout repository
2232
uses: actions/checkout@v4
2333
with:
@@ -79,4 +89,4 @@ jobs:
7989
title: 'auto-docs: Update RPCN connector docs'
8090
commit-message: 'docs: Update RPCN connector docs'
8191
body: ${{ steps.generate.outputs.delta_report }}
82-
labels: auto-docs
92+
labels: auto-docs

0 commit comments

Comments
 (0)