Skip to content

Commit fd13a40

Browse files
authored
update workflow file ARNs (#1403)
1 parent a159d7b commit fd13a40

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

.github/workflows/automerge-approved-prs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
with:
2525
parse-json-secrets: true
2626
secret-ids: |
27-
OSDS,arn:aws:secretsmanager:us-west-2:206735643321:secret:github-aws-sdk-osds-automation-gebs9n
27+
${{ secrets.OSDS_PACKAGING_ROLE }}
2828
- name: Enable PR automerge
2929
run: gh pr merge --auto --squash "$PR_URL"
3030
env:

.github/workflows/dependabot-autoapprove.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: Dependabot auto-approve
2-
on:
2+
on:
33
pull_request:
44
workflow_dispatch:
55

@@ -21,14 +21,14 @@ jobs:
2121
uses: aws-actions/configure-aws-credentials@v4
2222
with:
2323
aws-region: us-west-2
24-
role-to-assume: arn:aws:iam::206735643321:role/ConfigureAwsCredentialsPackageRole
24+
role-to-assume: ${{ secrets.SECRETS_AWS_PACKAGING_ROLE_TO_ASSUME }}
2525
role-duration-seconds: 900
2626
- name: Get bot user token
2727
uses: aws-actions/aws-secretsmanager-get-secrets@v2
2828
with:
2929
parse-json-secrets: true
3030
secret-ids: |
31-
OSDS,arn:aws:secretsmanager:us-west-2:206735643321:secret:github-aws-sdk-osds-automation-gebs9n
31+
${{ secrets.OSDS_PACKAGING_ROLE }}
3232
- name: Approve PR if not already approved
3333
run: |
3434
gh pr checkout "$PR_URL"

.github/workflows/package-dist.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939
with:
4040
parse-json-secrets: true
4141
secret-ids: |
42-
OSDS,arn:aws:secretsmanager:us-west-2:206735643321:secret:github-aws-sdk-osds-automation-gebs9n
42+
${{ secrets.OSDS_PACKAGING_ROLE }}
4343
- name: Commit
4444
run: |
4545
echo "::add-mask::${{ env.OSDS_ACCESS_TOKEN }}"

.github/workflows/release-please.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
with:
3333
parse-json-secrets: true
3434
secret-ids: |
35-
OSDS,arn:aws:secretsmanager:us-west-2:206735643321:secret:github-aws-sdk-osds-automation-gebs9n
35+
${{ secrets.OSDS_PACKAGING_ROLE }}
3636
3737
- name: Run release-please
3838
uses: googleapis/release-please-action@v4

0 commit comments

Comments
 (0)