From b1cca7f1ba64b20ecfa0a1bd47aca47c0b9afaa5 Mon Sep 17 00:00:00 2001 From: XinRan Zhang Date: Fri, 26 Apr 2024 16:27:12 +0000 Subject: [PATCH] change the role name --- .github/workflows/post_release_version_bump.yml | 2 +- .github/workflows/pre_release_prepare.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/post_release_version_bump.yml b/.github/workflows/post_release_version_bump.yml index 2c54615b2..6d53768c5 100644 --- a/.github/workflows/post_release_version_bump.yml +++ b/.github/workflows/post_release_version_bump.yml @@ -61,7 +61,7 @@ jobs: - name: Configure AWS credentials for BOT secrets uses: aws-actions/configure-aws-credentials@v4 with: - role-to-assume: ${{ secrets.AWS_ROLE_ARN_PYPI_RELEASE }} + role-to-assume: ${{ secrets.AWS_ROLE_ARN_SECRETS_MANAGER }} aws-region: ${{ env.AWS_DEFAULT_REGION }} - name: Get Bot secrets diff --git a/.github/workflows/pre_release_prepare.yml b/.github/workflows/pre_release_prepare.yml index 2359ae511..a6f83cc73 100644 --- a/.github/workflows/pre_release_prepare.yml +++ b/.github/workflows/pre_release_prepare.yml @@ -27,7 +27,7 @@ jobs: - name: Configure AWS credentials for BOT secrets uses: aws-actions/configure-aws-credentials@v4 with: - role-to-assume: ${{ secrets.AWS_ROLE_ARN_PYPI_RELEASE }} + role-to-assume: ${{ secrets.AWS_ROLE_ARN_SECRETS_MANAGER }} aws-region: ${{ env.AWS_DEFAULT_REGION }} - name: Get Bot secrets