Skip to content

Commit 862fe61

Browse files
committed
arn
1 parent 01bacb9 commit 862fe61

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

.github/workflows/continuous-integration.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,9 @@ on:
99
- 'feat-*'
1010
workflow_dispatch:
1111

12-
permissions: { }
12+
permissions:
13+
id-token: write
14+
contents: read
1315

1416
env:
1517
PACKAGE_NAME: aws-kotlin-repo-tools
@@ -59,7 +61,7 @@ jobs:
5961
- name: Configure AWS Credentials
6062
uses: aws-actions/configure-aws-credentials@v4
6163
with:
62-
role-to-assume: ${{ secrets.CI_AWS_ROLE_ARN }}
64+
role-to-assume: arn:aws:iam::934480575838:role/aws-sdk-kotlin-pr-github-oidc-role
6365
aws-region: us-west-2
6466
- name: Setup Kat
6567
uses: ./.github/actions/setup-kat
@@ -94,7 +96,7 @@ jobs:
9496
- name: Configure AWS Credentials
9597
uses: aws-actions/configure-aws-credentials@v4
9698
with:
97-
role-to-assume: ${{ secrets.CI_AWS_ROLE_ARN }}
99+
role-to-assume: arn:aws:iam::934480575838:role/aws-sdk-kotlin-pr-github-oidc-role
98100
aws-region: us-west-2
99101
- name: Setup Kat
100102
uses: ./.github/actions/setup-kat

0 commit comments

Comments
 (0)