From 10d322a754946e0be5020dcdd64bad54a7ed7136 Mon Sep 17 00:00:00 2001 From: Steve Yoo Date: Mon, 15 Dec 2025 16:16:20 -0500 Subject: [PATCH 1/3] Fix pull request build action --- .../{pull-request-build.yaml => pull-request-build.yml} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename .github/workflows/{pull-request-build.yaml => pull-request-build.yml} (98%) diff --git a/.github/workflows/pull-request-build.yaml b/.github/workflows/pull-request-build.yml similarity index 98% rename from .github/workflows/pull-request-build.yaml rename to .github/workflows/pull-request-build.yml index cab556280d5c..9f547f9ec1c4 100644 --- a/.github/workflows/pull-request-build.yaml +++ b/.github/workflows/pull-request-build.yml @@ -1,6 +1,6 @@ name: Build SDK on: - pull_request_review: + pull_request: types: [ opened, synchronize, ready_for_review ] concurrency: From 04d52bb1adc0a0be946a2f9fee812526e6a265af Mon Sep 17 00:00:00 2001 From: Steve Yoo Date: Mon, 15 Dec 2025 16:28:58 -0500 Subject: [PATCH 2/3] other fixes --- .github/workflows/pull-request-build.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/pull-request-build.yml b/.github/workflows/pull-request-build.yml index 9f547f9ec1c4..dc659cff8d46 100644 --- a/.github/workflows/pull-request-build.yml +++ b/.github/workflows/pull-request-build.yml @@ -1,4 +1,4 @@ -name: Build SDK +name: Build internal AWS CLI v2 on: pull_request: types: [ opened, synchronize, ready_for_review ] @@ -17,7 +17,7 @@ env: ROLE_SESSION_DURATION_SECONDS: 7200 jobs: - aws-sdk-pr-build: + aws-cli-v2-pr-build: if: github.event.pull_request.draft == false runs-on: ubuntu-latest permissions: @@ -29,7 +29,7 @@ jobs: - name: Configure AWS Credentials uses: aws-actions/configure-aws-credentials@main with: - role-to-assume: '$IAM_ROLE_ARN' + role-to-assume: ${{ env.IAM_ROLE_ARN }} role-session-name: PullRequestBuildGitHubAction role-duration-seconds: '$ROLE_SESSION_DURATION_SECONDS' aws-region: us-west-2 From 9de090646d4e43e5d06e5e77d4daccb66779b4a0 Mon Sep 17 00:00:00 2001 From: Steve Yoo Date: Mon, 15 Dec 2025 16:36:29 -0500 Subject: [PATCH 3/3] fix env --- .github/workflows/pull-request-build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pull-request-build.yml b/.github/workflows/pull-request-build.yml index dc659cff8d46..f2e056085a0b 100644 --- a/.github/workflows/pull-request-build.yml +++ b/.github/workflows/pull-request-build.yml @@ -31,7 +31,7 @@ jobs: with: role-to-assume: ${{ env.IAM_ROLE_ARN }} role-session-name: PullRequestBuildGitHubAction - role-duration-seconds: '$ROLE_SESSION_DURATION_SECONDS' + role-duration-seconds: ${{ env.ROLE_SESSION_DURATION_SECONDS }} aws-region: us-west-2 - name: Download Build Script run: |