diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 2c1abf2..7a592a7 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -26,7 +26,7 @@ jobs: with: python-version: '3.9' - name: Configure AWS credentials - uses: aws-actions/configure-aws-credentials@v3 + uses: aws-actions/configure-aws-credentials@v4 with: role-to-assume: ${{ secrets.AWS_CODEARTIFACT_ROLE }} aws-region: us-west-2 @@ -60,10 +60,11 @@ jobs: id-token: write steps: - name: Configure AWS credentials - uses: aws-actions/configure-aws-credentials@v2 + uses: aws-actions/configure-aws-credentials@v4 with: role-to-assume: ${{ secrets.AWS_CODEBUILD_RELEASE_PUBLISH_ROLE }} aws-region: us-west-2 + mask-aws-account-id: true - name: Run CodeBuild uses: aws-actions/aws-codebuild-run-build@v1 with: diff --git a/.github/workflows/reuse_python_build.yml b/.github/workflows/reuse_python_build.yml index 439df43..734bd4e 100644 --- a/.github/workflows/reuse_python_build.yml +++ b/.github/workflows/reuse_python_build.yml @@ -42,7 +42,7 @@ jobs: python-version: ${{ matrix.python-version }} - name: Configure AWS credentials - uses: aws-actions/configure-aws-credentials@v3 + uses: aws-actions/configure-aws-credentials@v4 with: role-to-assume: ${{ secrets.AWS_CODEARTIFACT_ROLE }} aws-region: us-west-2