From 775d8afdf8eaddbba2d4258d69eb56bb7264565b Mon Sep 17 00:00:00 2001 From: mzjrzm Date: Fri, 11 Oct 2024 08:11:51 -0500 Subject: [PATCH 1/4] Update analyze.yml role bucket region --- .github/workflows/analyze.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/analyze.yml b/.github/workflows/analyze.yml index 93f348b..33cd59a 100644 --- a/.github/workflows/analyze.yml +++ b/.github/workflows/analyze.yml @@ -34,8 +34,8 @@ jobs: continue-on-error: true uses: aws-actions/configure-aws-credentials@v1 with: - role-to-assume: arn:aws:iam::048169001733:role/GuruGitHubCICDRole - aws-region: us-west-2 + role-to-assume: arn:aws:iam::194572371652:role/GitHubActionRole + aws-region: us-east-1 - name: Check out repository uses: actions/checkout@v2 @@ -52,7 +52,7 @@ jobs: if: steps.assume-iam-role.outcome == 'success' continue-on-error: false with: - s3_bucket: codeguru-reviewer-build-artifacts-048169001733-us-west-2 + s3_bucket: codeguru-reviewer-build-artifacts-194572371652-us-east-1 build_path: ./build/libs - name: Upload SARIF file to workflow artifacts From e832c306d6e2519ed80bb35ff8e1b798b3375b46 Mon Sep 17 00:00:00 2001 From: mzjrzm Date: Fri, 11 Oct 2024 08:16:40 -0500 Subject: [PATCH 2/4] Update analyze.yml --- .github/workflows/analyze.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/analyze.yml b/.github/workflows/analyze.yml index 33cd59a..8ae4a06 100644 --- a/.github/workflows/analyze.yml +++ b/.github/workflows/analyze.yml @@ -2,7 +2,7 @@ # Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. # SPDX-License-Identifier: Apache-2.0 # - +#update role region bucket name: CodeGuru Reviewer on: From 74e69433c6013deb842e153d4be469d0180a9b06 Mon Sep 17 00:00:00 2001 From: mzjrzm Date: Fri, 11 Oct 2024 08:23:08 -0500 Subject: [PATCH 3/4] Update analyze.yml upload actions to v4 --- .github/workflows/analyze.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/analyze.yml b/.github/workflows/analyze.yml index 8ae4a06..f05b205 100644 --- a/.github/workflows/analyze.yml +++ b/.github/workflows/analyze.yml @@ -57,7 +57,7 @@ jobs: - name: Upload SARIF file to workflow artifacts if: steps.assume-iam-role.outcome == 'success' && steps.analysis.outcome == 'success' - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: codeguru-results.sarif.json path: codeguru-results.sarif.json From b4d3f95a44357e52c60bf72414422a84688d1b5f Mon Sep 17 00:00:00 2001 From: mzjrzm Date: Fri, 11 Oct 2024 08:27:50 -0500 Subject: [PATCH 4/4] Update artifact version analyze.yml --- .github/workflows/analyze.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/analyze.yml b/.github/workflows/analyze.yml index f05b205..b740808 100644 --- a/.github/workflows/analyze.yml +++ b/.github/workflows/analyze.yml @@ -94,7 +94,7 @@ jobs: - name: Upload results summary to workflow artifacts if: steps.assume-iam-role.outcome == 'success' && steps.analysis.outcome == 'success' - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: summary-of-results.csv path: summary-of-results.csv