Skip to content

Commit 9bbf107

Browse files
authored
Optimize GitHub actions (#339)
* Correct the audience for China regions
1 parent bf0ae9e commit 9bbf107

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/pipeline.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -648,6 +648,7 @@ jobs:
648648
with:
649649
aws-region: ${{ matrix.region }}
650650
role-to-assume: ${{ env.GITHUB_RUNNER_CHINA_ROLE }}
651+
audience: sts.amazonaws.com.cn
651652

652653
- name: Assume the china pipeline user role
653654
uses: aws-actions/configure-aws-credentials@v4
@@ -723,6 +724,7 @@ jobs:
723724
with:
724725
aws-region: ${{ matrix.region }}
725726
role-to-assume: ${{ env.GITHUB_RUNNER_CHINA_ROLE }}
727+
audience: sts.amazonaws.com.cn
726728

727729
- name: Assume the china pipeline user role
728730
uses: aws-actions/configure-aws-credentials@v4
@@ -965,6 +967,7 @@ jobs:
965967
with:
966968
aws-region: ${{ matrix.region }}
967969
role-to-assume: ${{ env.GITHUB_RUNNER_CHINA_ROLE }}
970+
audience: sts.amazonaws.com.cn
968971

969972
- name: Assume the china pipeline user role
970973
uses: aws-actions/configure-aws-credentials@v4
@@ -1045,6 +1048,7 @@ jobs:
10451048
with:
10461049
aws-region: ${{ matrix.region }}
10471050
role-to-assume: ${{ env.GITHUB_RUNNER_CHINA_ROLE }}
1051+
audience: sts.amazonaws.com.cn
10481052

10491053
- name: Assume the china pipeline user role
10501054
uses: aws-actions/configure-aws-credentials@v4

0 commit comments

Comments
 (0)