Skip to content

Commit 652b6ed

Browse files
authored
Use correct role to publish metrics (#275)
1 parent 5c3ad59 commit 652b6ed

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

.github/workflows/main-build.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -150,10 +150,11 @@ jobs:
150150
if: always()
151151
steps:
152152
- name: Configure AWS Credentials
153-
uses: aws-actions/configure-aws-credentials@v1
153+
uses: aws-actions/configure-aws-credentials@v1-node16
154154
with:
155-
role-to-assume: ${{ secrets.AWS_ASSUME_ROLE_ARN }}
155+
role-to-assume: ${{ secrets.METRICS_ROLE_ARN }}
156156
aws-region: us-west-2
157+
role-duration-seconds: 21600
157158

158159
- name: Publish CI status
159160
run: |

.github/workflows/nightly-upstream-snapshot-build.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,10 +52,11 @@ jobs:
5252
if: always()
5353
steps:
5454
- name: Configure AWS Credentials
55-
uses: aws-actions/configure-aws-credentials@v1
55+
uses: aws-actions/configure-aws-credentials@v1-node16
5656
with:
57-
role-to-assume: ${{ secrets.AWS_ASSUME_ROLE_ARN }}
57+
role-to-assume: ${{ secrets.METRICS_ROLE_ARN }}
5858
aws-region: us-west-2
59+
role-duration-seconds: 21600
5960

6061
- name: Publish CI status
6162
run: |

0 commit comments

Comments
 (0)