From 1cf21cdb2ba53f6dfb76391556158bc65c708605 Mon Sep 17 00:00:00 2001 From: Ian Saultz <52051793+atierian@users.noreply.github.com> Date: Tue, 19 Dec 2023 15:47:32 -0500 Subject: [PATCH] chore: update action depedency versions (#3427) --- .../download_test_configuration/action.yml | 2 +- .github/workflows/build_amplify_swift.yml | 2 +- .github/workflows/canary.yml | 2 +- .github/workflows/codeql.yml | 2 +- .github/workflows/dependency-review.yml | 2 +- .github/workflows/deploy_package.yml | 4 ++-- .github/workflows/deploy_release.yml | 4 ++-- .github/workflows/deploy_unstable.yml | 4 ++-- .github/workflows/fortify_scan.yml | 4 ++-- .github/workflows/integ_test_push_notifications.yml | 4 ++-- .github/workflows/release_block_manual_pr.yml | 2 +- .github/workflows/release_doc.yml | 4 ++-- .github/workflows/release_kickoff.yml | 2 +- .github/workflows/run_integration_tests.yml | 2 +- .github/workflows/run_unit_tests.yml | 4 ++-- .github/workflows/stress_test.yml | 12 ++++++------ .github/workflows/upload_coverage_report.yml | 4 ++-- 17 files changed, 30 insertions(+), 30 deletions(-) diff --git a/.github/composite_actions/download_test_configuration/action.yml b/.github/composite_actions/download_test_configuration/action.yml index 146a1c3e6c..82cd7413ab 100644 --- a/.github/composite_actions/download_test_configuration/action.yml +++ b/.github/composite_actions/download_test_configuration/action.yml @@ -23,7 +23,7 @@ runs: using: "composite" steps: - name: Configure AWS credentials for {{ inputs.resource_subfolder }} - uses: aws-actions/configure-aws-credentials@5fd3084fc36e372ff1fff382a39b10d03659f355 #v2 + uses: aws-actions/configure-aws-credentials@v4 with: role-to-assume: ${{ inputs.aws_role_to_assume }} aws-region: ${{ inputs.aws_region }} diff --git a/.github/workflows/build_amplify_swift.yml b/.github/workflows/build_amplify_swift.yml index 67b5a835b6..bfefc79014 100644 --- a/.github/workflows/build_amplify_swift.yml +++ b/.github/workflows/build_amplify_swift.yml @@ -16,7 +16,7 @@ jobs: runs-on: macos-13 steps: - name: Checkout repository - uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 #v3.5.3 + uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 #v4.1.1 with: persist-credentials: false diff --git a/.github/workflows/canary.yml b/.github/workflows/canary.yml index 7bb1939fb8..9b1631d149 100644 --- a/.github/workflows/canary.yml +++ b/.github/workflows/canary.yml @@ -27,7 +27,7 @@ jobs: runs-on: ${{ matrix.os }} steps: - name: Checkout Code - uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3 + uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 #v4.1.1 with: persist-credentials: false diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index d867191665..8084087bc4 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -39,7 +39,7 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 #v3.5.3 + uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 #v4.1.1 # Initializes the CodeQL tools for scanning. - name: Initialize CodeQL diff --git a/.github/workflows/dependency-review.yml b/.github/workflows/dependency-review.yml index 199ee76507..087370ee0e 100644 --- a/.github/workflows/dependency-review.yml +++ b/.github/workflows/dependency-review.yml @@ -15,7 +15,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout Code - uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3 + uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 #v4.1.1 with: persist-credentials: false diff --git a/.github/workflows/deploy_package.yml b/.github/workflows/deploy_package.yml index 37e6b7c75e..6141a074ae 100644 --- a/.github/workflows/deploy_package.yml +++ b/.github/workflows/deploy_package.yml @@ -43,7 +43,7 @@ jobs: GITHUB_USER: aws-amplify-ops steps: - name: Configure AWS credentials - uses: aws-actions/configure-aws-credentials@5fd3084fc36e372ff1fff382a39b10d03659f355 #v2 + uses: aws-actions/configure-aws-credentials@v4 with: role-to-assume: ${{ secrets.AWS_ROLE_TO_ASSUME }} role-session-name: ${{ format('{0}.release', github.run_id) }} @@ -60,7 +60,7 @@ jobs: echo "token=$PAT" >> $GITHUB_OUTPUT - name: Checkout repo - uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3.3.0 + uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 #v4.1.1 with: fetch-depth: 100 token: ${{steps.retrieve-token.outputs.token}} diff --git a/.github/workflows/deploy_release.yml b/.github/workflows/deploy_release.yml index 906bed60be..289e12ab45 100644 --- a/.github/workflows/deploy_release.yml +++ b/.github/workflows/deploy_release.yml @@ -39,7 +39,7 @@ jobs: GITHUB_USER: aws-amplify-ops steps: - name: Configure AWS credentials - uses: aws-actions/configure-aws-credentials@5fd3084fc36e372ff1fff382a39b10d03659f355 #v2 + uses: aws-actions/configure-aws-credentials@v4 with: role-to-assume: ${{ secrets.AWS_ROLE_TO_ASSUME }} role-session-name: ${{ format('{0}.release', github.run_id) }} @@ -56,7 +56,7 @@ jobs: echo "token=$PAT" >> $GITHUB_OUTPUT - name: Checkout repo - uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3.3.0 + uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 #v4.1.1 with: fetch-depth: 100 token: ${{steps.retrieve-token.outputs.token}} diff --git a/.github/workflows/deploy_unstable.yml b/.github/workflows/deploy_unstable.yml index fb025ece56..a91c4e7d06 100644 --- a/.github/workflows/deploy_unstable.yml +++ b/.github/workflows/deploy_unstable.yml @@ -39,7 +39,7 @@ jobs: GITHUB_USER: aws-amplify-ops steps: - name: Configure AWS credentials - uses: aws-actions/configure-aws-credentials@5fd3084fc36e372ff1fff382a39b10d03659f355 #v2 + uses: aws-actions/configure-aws-credentials@v4 with: role-to-assume: ${{ secrets.AWS_ROLE_TO_ASSUME }} role-session-name: ${{ format('{0}.release', github.run_id) }} @@ -56,7 +56,7 @@ jobs: echo "token=$PAT" >> $GITHUB_OUTPUT - name: Checkout repo - uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3.3.0 + uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 #v4.1.1 with: fetch-depth: 100 token: ${{steps.retrieve-token.outputs.token}} diff --git a/.github/workflows/fortify_scan.yml b/.github/workflows/fortify_scan.yml index c601d1f92f..5d9e6184fb 100644 --- a/.github/workflows/fortify_scan.yml +++ b/.github/workflows/fortify_scan.yml @@ -25,7 +25,7 @@ jobs: runs-on: macos-latest environment: Fortify steps: - - uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 #v3.5.3 + - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 #v4.1.1 with: persist-credentials: false @@ -35,7 +35,7 @@ jobs: cp -r Amplify source cp -r AmplifyPlugins source - name: Configure AWS credentials for fetching fortify resources - uses: aws-actions/configure-aws-credentials@5fd3084fc36e372ff1fff382a39b10d03659f355 #v2 + uses: aws-actions/configure-aws-credentials@v4 with: role-to-assume: ${{ secrets.AWS_ROLE_TO_ASSUME }} aws-region: ${{ secrets.AWS_REGION }} diff --git a/.github/workflows/integ_test_push_notifications.yml b/.github/workflows/integ_test_push_notifications.yml index 5f0e1df437..a600fbd68b 100644 --- a/.github/workflows/integ_test_push_notifications.yml +++ b/.github/workflows/integ_test_push_notifications.yml @@ -39,7 +39,7 @@ jobs: - platform: ${{ github.event.inputs.watchos == 'false' && 'watchOS' || 'None' }} steps: - name: Checkout repository - uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 #v3.5.3 + uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 with: persist-credentials: false @@ -63,7 +63,7 @@ jobs: destination: ~/.aws-amplify/amplify-ios/testconfiguration/ - name: Set up node - uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c + uses: actions/setup-node@b39b52d1213e96004bfcb1c61a8a6fa8ab84f3e8 # v4.0.1 with: node-version: 16.x diff --git a/.github/workflows/release_block_manual_pr.yml b/.github/workflows/release_block_manual_pr.yml index b9665b1441..1d86a8288b 100644 --- a/.github/workflows/release_block_manual_pr.yml +++ b/.github/workflows/release_block_manual_pr.yml @@ -21,7 +21,7 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b + - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 #v4.1.1 - name: Close PR shell: bash diff --git a/.github/workflows/release_doc.yml b/.github/workflows/release_doc.yml index 88cc91ba93..309d9dca89 100644 --- a/.github/workflows/release_doc.yml +++ b/.github/workflows/release_doc.yml @@ -14,7 +14,7 @@ jobs: environment: Release steps: - name: Configure AWS credentials - uses: aws-actions/configure-aws-credentials@5fd3084fc36e372ff1fff382a39b10d03659f355 #v2 + uses: aws-actions/configure-aws-credentials@v4 with: role-to-assume: ${{ secrets.AWS_ROLE_TO_ASSUME }} role-session-name: ${{ format('{0}.release-doc', github.run_id) }} @@ -31,7 +31,7 @@ jobs: echo "token=$PAT" >> $GITHUB_OUTPUT - name: Checkout repo - uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3.3.0 + uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 #v4.1.1 with: token: ${{steps.retrieve-token.outputs.token}} diff --git a/.github/workflows/release_kickoff.yml b/.github/workflows/release_kickoff.yml index d26d5a0cc0..86145a487c 100644 --- a/.github/workflows/release_kickoff.yml +++ b/.github/workflows/release_kickoff.yml @@ -13,7 +13,7 @@ jobs: runs-on: macos-12 steps: - - uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b + - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 #v4.1.1 - name: Create PR to push main to release branch env: diff --git a/.github/workflows/run_integration_tests.yml b/.github/workflows/run_integration_tests.yml index 500f10095a..41bec24f2b 100644 --- a/.github/workflows/run_integration_tests.yml +++ b/.github/workflows/run_integration_tests.yml @@ -39,7 +39,7 @@ jobs: environment: IntegrationTest steps: - name: Checkout repository - uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 #v3.5.3 + uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 #v4.1.1 with: persist-credentials: false diff --git a/.github/workflows/run_unit_tests.yml b/.github/workflows/run_unit_tests.yml index 518f74b1a4..e87cd68de8 100644 --- a/.github/workflows/run_unit_tests.yml +++ b/.github/workflows/run_unit_tests.yml @@ -38,7 +38,7 @@ jobs: timeout-minutes: ${{ inputs.timeout-minutes }} steps: - name: Checkout repository - uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 #v3.5.3 + uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 #v4.1.1 with: persist-credentials: false @@ -102,7 +102,7 @@ jobs: - name: Store Coverage Report File if: ${{ inputs.generate_coverage_report == true }} - uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce #v3.1.2 + uses: actions/upload-artifact@c7d193f32edcb7bfad88892161225aeda64e9392 # v4.0.0 with: name: ${{ inputs.scheme }}-Coverage-${{ github.sha }} path: ${{ github.workspace }}/${{ inputs.scheme }}-Coverage.lcov diff --git a/.github/workflows/stress_test.yml b/.github/workflows/stress_test.yml index 7988fb7123..805d6232d3 100644 --- a/.github/workflows/stress_test.yml +++ b/.github/workflows/stress_test.yml @@ -17,7 +17,7 @@ jobs: runs-on: macos-13 environment: IntegrationTest steps: - - uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b + - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 #v4.1.1 with: persist-credentials: false @@ -34,7 +34,7 @@ jobs: runs-on: macos-13 environment: IntegrationTest steps: - - uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b + - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 #v4.1.1 with: persist-credentials: false @@ -62,7 +62,7 @@ jobs: runs-on: macos-13 environment: IntegrationTest steps: - - uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b + - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 #v4.1.1 with: persist-credentials: false @@ -90,7 +90,7 @@ jobs: runs-on: macos-13 environment: IntegrationTest steps: - - uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b + - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 #v4.1.1 with: persist-credentials: false @@ -118,7 +118,7 @@ jobs: runs-on: macos-13 environment: IntegrationTest steps: - - uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b + - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 #v4.1.1 with: persist-credentials: false @@ -146,7 +146,7 @@ jobs: runs-on: macos-13 environment: IntegrationTest steps: - - uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b + - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 #v4.1.1 with: persist-credentials: false diff --git a/.github/workflows/upload_coverage_report.yml b/.github/workflows/upload_coverage_report.yml index 287e9fc154..3ce54a81ce 100644 --- a/.github/workflows/upload_coverage_report.yml +++ b/.github/workflows/upload_coverage_report.yml @@ -21,12 +21,12 @@ jobs: timeout-minutes: 2 runs-on: ubuntu-latest steps: - - uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 #v3.5.3 + - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 #v4.1.1 with: persist-credentials: false - name: Retrieve Coverage report - uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a #v3.0.2 + uses: actions/download-artifact@f44cd7b40bfd40b6aa1cc1b9b5b7bf03d3c67110 # 4.1.0 with: name: ${{ inputs.scheme }}-Coverage-${{ github.sha }} path: ${{ github.workspace }}