From 86c6135a1f7630c306efc60094e023a71a61a12d Mon Sep 17 00:00:00 2001 From: GitHub Actions Updater Date: Thu, 18 Jun 2026 13:50:14 +0000 Subject: [PATCH] chore(ops): update action version --- .github/workflows/branch-actioner.yaml | 4 ++-- .github/workflows/build-java-hash.yaml | 4 ++-- .github/workflows/build-mobile.yaml | 10 +++++----- .github/workflows/build-node-hash.yaml | 8 ++++---- .github/workflows/clear-stale-branches.yaml | 2 +- .github/workflows/node-ci.yaml | 6 +++--- .github/workflows/node-service-build.yaml | 6 +++--- .github/workflows/openapi-gen.yml | 12 ++++++------ .github/workflows/terraform-plan.yaml | 10 +++++----- .github/workflows/test-mobile.yaml | 16 ++++++++-------- .github/workflows/tf-apply.yaml | 8 ++++---- .github/workflows/tf-destroy.yaml | 6 +++--- .github/workflows/tf-lint.yaml | 4 ++-- .github/workflows/tf-plan.yaml | 8 ++++---- aws-profile-configure/action.yaml | 4 ++-- build-and-test/action.yaml | 2 +- build-java-function/action.yaml | 2 +- build-node-function/action.yaml | 4 ++-- github-stale-branches/action.yaml | 6 +++--- matrix-output/action.yaml | 2 +- mysql-create-schema/action.yaml | 2 +- mysql-drop-schema/action.yaml | 4 ++-- release-commits/action.yaml | 4 ++-- seed-all-tables/action.yaml | 2 +- service-build/action.yaml | 6 +++--- service-store/action.yaml | 2 +- spinup-ec2/action.yaml | 2 +- terraform-apply/action.yaml | 2 +- terraform-initialize/action.yaml | 2 +- terraform-plan/action.yaml | 2 +- terraform-pr-comment/action.yaml | 2 +- terraform-scan/action.yaml | 2 +- 32 files changed, 78 insertions(+), 78 deletions(-) diff --git a/.github/workflows/branch-actioner.yaml b/.github/workflows/branch-actioner.yaml index 2f0108a3..8e886a5c 100644 --- a/.github/workflows/branch-actioner.yaml +++ b/.github/workflows/branch-actioner.yaml @@ -30,7 +30,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Git Checkout ${{ inputs.source-branch }} - uses: actions/checkout@v5 + uses: actions/checkout@v6 with: ref: ${{ inputs.source-branch == 'develop' && '' || inputs.source-branch }} @@ -69,7 +69,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Git Checkout Develop - uses: actions/checkout@v5 + uses: actions/checkout@v6 - name: Check Branch Exists id: exists diff --git a/.github/workflows/build-java-hash.yaml b/.github/workflows/build-java-hash.yaml index e1201a5c..1f9e69df 100644 --- a/.github/workflows/build-java-hash.yaml +++ b/.github/workflows/build-java-hash.yaml @@ -16,10 +16,10 @@ jobs: build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v5 + - uses: actions/checkout@v6 - name: Get AWS credentials - uses: aws-actions/configure-aws-credentials@v5.1.0 + uses: aws-actions/configure-aws-credentials@v6 with: role-to-assume: ${{ secrets.CVS_MGMT_AWS_ROLE }} aws-region: ${{ secrets.DVSA_AWS_REGION }} diff --git a/.github/workflows/build-mobile.yaml b/.github/workflows/build-mobile.yaml index 744e2071..6c3e2cb1 100644 --- a/.github/workflows/build-mobile.yaml +++ b/.github/workflows/build-mobile.yaml @@ -56,12 +56,12 @@ jobs: steps: - name: ⚙️ Get Codebase - uses: actions/checkout@v5 + uses: actions/checkout@v6 with: ref: ${{ inputs.branch == 'develop' && '' || inputs.branch }} - name: ⚙️ Configure Node - uses: actions/setup-node@v4 + uses: actions/setup-node@v6 with: node-version-file: '.nvmrc' @@ -74,14 +74,14 @@ jobs: id: branch - name: ⚙️ Configure AWS Credentials - uses: aws-actions/configure-aws-credentials@v5.1.0 + uses: aws-actions/configure-aws-credentials@v6 with: role-to-assume: ${{ secrets.AWS_ROLE }} aws-region: eu-west-1 role-session-name: GHA-MobileBuild - name: ♦️ Set Fastlane Secrets - uses: aws-actions/aws-secretsmanager-get-secrets@v2.0.10 + uses: aws-actions/aws-secretsmanager-get-secrets@v3 with: secret-ids: ${{ inputs.secret_name }} parse-json-secrets: true @@ -120,7 +120,7 @@ jobs: - name: ⬆️ Store QR Code if: ${{ inputs.is_auto == false }} - uses: actions/upload-artifact@v4.6.2 + uses: actions/upload-artifact@v7 with: name: VTA-QR-${{ steps.branch.outputs.BRANCH }} path: fastlane/codes diff --git a/.github/workflows/build-node-hash.yaml b/.github/workflows/build-node-hash.yaml index a3f29d64..b3603431 100644 --- a/.github/workflows/build-node-hash.yaml +++ b/.github/workflows/build-node-hash.yaml @@ -29,17 +29,17 @@ jobs: build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v5 + - uses: actions/checkout@v6 - name: Get AWS credentials - uses: aws-actions/configure-aws-credentials@v5.1.0 + uses: aws-actions/configure-aws-credentials@v6 with: role-to-assume: ${{ secrets.CVS_MGMT_AWS_ROLE }} aws-region: ${{ secrets.DVSA_AWS_REGION }} role-session-name: '${{ github.event.repository.name }}-hash-upload' - name: Setup Node.js - uses: actions/setup-node@v4 + uses: actions/setup-node@v6 with: node-version-file: '.nvmrc' @@ -65,7 +65,7 @@ jobs: - name: Checkout CVS-NOP if: ${{ inputs.mysql_liquibase == true }} - uses: actions/checkout@v5 + uses: actions/checkout@v6 with: repository: dvsa/cvs-nop path: cvs-nop diff --git a/.github/workflows/clear-stale-branches.yaml b/.github/workflows/clear-stale-branches.yaml index a773d7ad..28a4ceda 100644 --- a/.github/workflows/clear-stale-branches.yaml +++ b/.github/workflows/clear-stale-branches.yaml @@ -16,7 +16,7 @@ jobs: runs-on: X64 steps: - name: Get Codebase - uses: actions/checkout@v5 + uses: actions/checkout@v6 - name: Check References run: | diff --git a/.github/workflows/node-ci.yaml b/.github/workflows/node-ci.yaml index 152dc973..e3ecd270 100644 --- a/.github/workflows/node-ci.yaml +++ b/.github/workflows/node-ci.yaml @@ -18,19 +18,19 @@ jobs: echo ${{ github.head_ref }} - name: Checkout - uses: actions/checkout@v5 + uses: actions/checkout@v6 with: ref: ${{ github.base_ref == 'develop' && '' || github.base_ref }} - name: Configure AWS Credentials - uses: aws-actions/configure-aws-credentials@v5.1.0 + uses: aws-actions/configure-aws-credentials@v6 with: role-to-assume: ${{ secrets.CVS_MGMT_AWS_ROLE }} aws-region: eu-west-1 role-session-name: MGMTGHA - name: Setup Node.js - uses: actions/setup-node@v3 + uses: actions/setup-node@v6 with: node-version-file: '.nvmrc' cache: 'npm' diff --git a/.github/workflows/node-service-build.yaml b/.github/workflows/node-service-build.yaml index 0740cdc0..890e1d95 100644 --- a/.github/workflows/node-service-build.yaml +++ b/.github/workflows/node-service-build.yaml @@ -65,7 +65,7 @@ jobs: steps: - name: 📥 Get Codebase - uses: actions/checkout@v5 + uses: actions/checkout@v6 with: ref: ${{ inputs.branch == 'develop' && '' || inputs.branch }} # github.event_name == 'schedule' && 'main' || github.ref_name @@ -81,7 +81,7 @@ jobs: with: environment: ${{ inputs.branch }} - - uses: aws-actions/configure-aws-credentials@v5.1.0 + - uses: aws-actions/configure-aws-credentials@v6 with: role-to-assume: ${{ secrets.AWS_MGMT_ROLE }} aws-region: ${{ inputs.aws-region }} @@ -126,7 +126,7 @@ jobs: environment: ${{ inputs.branch }} - name: 🪪 Get Credentials - uses: aws-actions/configure-aws-credentials@v5.1.0 + uses: aws-actions/configure-aws-credentials@v6 with: role-to-assume: ${{ secrets.AWS_MGMT_ROLE }} aws-region: ${{ inputs.aws-region }} diff --git a/.github/workflows/openapi-gen.yml b/.github/workflows/openapi-gen.yml index 87eefa63..f66cd12b 100644 --- a/.github/workflows/openapi-gen.yml +++ b/.github/workflows/openapi-gen.yml @@ -32,19 +32,19 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v5 + - uses: actions/checkout@v6 with: path: this - name: ⚙️ Configure AWS Credentials - uses: aws-actions/configure-aws-credentials@v5.1.0 + uses: aws-actions/configure-aws-credentials@v6 with: role-to-assume: ${{ secrets.AWS_ROLE }} aws-region: eu-west-1 role-session-name: OPENAPIGEN - name: ♦️ Set Secrets - uses: aws-actions/aws-secretsmanager-get-secrets@v2.0.10 + uses: aws-actions/aws-secretsmanager-get-secrets@v3 with: secret-ids: openapi-gen/env parse-json-secrets: true @@ -53,7 +53,7 @@ jobs: run: | wget ${{ env.OPENAPI_GEN_ENV_URL }} -O openapi-generator-cli.jar - - uses: actions/setup-java@v3 + - uses: actions/setup-java@v5 with: distribution: "zulu" # See 'Supported distributions' for available options java-version: "17" @@ -65,7 +65,7 @@ jobs: -g typescript-angular \ -o ./generated - - uses: actions/checkout@v5 + - uses: actions/checkout@v6 with: repository: ${{format('{0}/{1}', inputs.owner, inputs.pr_repository)}} path: pr_repo @@ -97,7 +97,7 @@ jobs: - name: Create PR if: steps.change-check.outputs.HAS_CHANGED != 'false' - uses: actions/github-script@v6 + uses: actions/github-script@v9 with: github-token: ${{ env.OPENAPI_GEN_ENV_GH_PAT }} script: | diff --git a/.github/workflows/terraform-plan.yaml b/.github/workflows/terraform-plan.yaml index 2aaf3701..36204bf5 100644 --- a/.github/workflows/terraform-plan.yaml +++ b/.github/workflows/terraform-plan.yaml @@ -29,13 +29,13 @@ jobs: name: Terraform Plan runs-on: ubuntu-latest steps: - - uses: actions/checkout@v5 + - uses: actions/checkout@v6 - - uses: hashicorp/setup-terraform@v3 + - uses: hashicorp/setup-terraform@v4 with: terraform_version: ${{ inputs.version }} - - uses: aws-actions/configure-aws-credentials@v5.1.0 + - uses: aws-actions/configure-aws-credentials@v6 with: role-to-assume: ${{ secrets.MGMT_ROLE }} aws-region: eu-west-1 @@ -63,7 +63,7 @@ jobs: terraform show terraform.tfplan -no-color > plan.txt continue-on-error: true - - uses: actions/upload-artifact@v4.6.2 + - uses: actions/upload-artifact@v7 with: name: plan-${{ github.run_id }} path: | @@ -71,7 +71,7 @@ jobs: terraform.tfplan retention-days: 2 - - uses: actions/github-script@v6 + - uses: actions/github-script@v9 if: github.event_name == 'pull_request' continue-on-error: true env: diff --git a/.github/workflows/test-mobile.yaml b/.github/workflows/test-mobile.yaml index 18552a5f..850c15c7 100644 --- a/.github/workflows/test-mobile.yaml +++ b/.github/workflows/test-mobile.yaml @@ -31,24 +31,24 @@ jobs: outputs: branch: ${{ steps.extract_branch.outputs.BRANCH }} steps: - - uses: actions/checkout@v5 + - uses: actions/checkout@v6 - - uses: actions/setup-java@v4 + - uses: actions/setup-java@v5 with: distribution: 'corretto' java-version: '11' - - uses: actions/setup-node@v4 + - uses: actions/setup-node@v6 with: node-version-file: '.nvmrc' - - uses: aws-actions/configure-aws-credentials@v5.1.0 + - uses: aws-actions/configure-aws-credentials@v6 with: role-to-assume: ${{ secrets.MGMT_ROLE_NAME }} aws-region: eu-west-1 role-session-name: ServiceAutoGHAMGMT - - uses: aws-actions/aws-secretsmanager-get-secrets@v2.0.10 + - uses: aws-actions/aws-secretsmanager-get-secrets@v3 with: secret-ids: 'vta-automation/env' parse-json-secrets: true @@ -99,7 +99,7 @@ jobs: - name: 🤐 Zip Reports if: always() - uses: actions/upload-artifact@v4.6.2 + uses: actions/upload-artifact@v7 with: name: vta-report-${{ steps.extract_branch.outputs.branch }}-${{ github.run_id }} path: reports/allure-report @@ -117,7 +117,7 @@ jobs: needs: [ test ] steps: - name: ⬇️ Download Artifacts - uses: actions/download-artifact@v5 + uses: actions/download-artifact@v8 id: download with: name: vta-report-${{ needs.test.outputs.branch }}-${{ github.run_id }} @@ -128,7 +128,7 @@ jobs: - name: 📑 Deploy Report to Github Pages if: always() - uses: peaceiris/actions-gh-pages@v3.9.3 + uses: peaceiris/actions-gh-pages@v4 with: github_token: ${{ secrets.GITHUB_TOKEN }} publish_dir: reports diff --git a/.github/workflows/tf-apply.yaml b/.github/workflows/tf-apply.yaml index c30d0a95..ed217647 100644 --- a/.github/workflows/tf-apply.yaml +++ b/.github/workflows/tf-apply.yaml @@ -51,23 +51,23 @@ jobs: ENV: ${{ inputs.environment }} steps: - name: 📨 Get Codebase - uses: actions/checkout@v5 + uses: actions/checkout@v6 with: ref: ${{ inputs.branch == 'develop' && '' || inputs.branch }} - name: ⬇️ Download the release artifact - uses: actions/download-artifact@v5 + uses: actions/download-artifact@v8 with: name: plan-${{ inputs.run-id }} path: . - - uses: aws-actions/configure-aws-credentials@v5.1.0 + - uses: aws-actions/configure-aws-credentials@v6 with: role-to-assume: ${{ secrets.AWS_MGMT_ROLE }} aws-region: eu-west-1 role-session-name: Terraform-GHA - - uses: hashicorp/setup-terraform@v2 + - uses: hashicorp/setup-terraform@v4 with: terraform_version: ${{ inputs.tf-version }} terraform_wrapper: false diff --git a/.github/workflows/tf-destroy.yaml b/.github/workflows/tf-destroy.yaml index e784f9ea..7efb6e6b 100644 --- a/.github/workflows/tf-destroy.yaml +++ b/.github/workflows/tf-destroy.yaml @@ -44,16 +44,16 @@ jobs: environment: feature steps: - name: 📨 Get Codebase - uses: actions/checkout@v5 + uses: actions/checkout@v6 with: ref: ${{ needs.check-branch.outputs.branch == 'develop' && '' || needs.check-branch.outputs.branch }} - - uses: hashicorp/setup-terraform@v2 + - uses: hashicorp/setup-terraform@v4 with: terraform_version: "1.7.3" terraform_wrapper: false - - uses: aws-actions/configure-aws-credentials@v5.1.0 + - uses: aws-actions/configure-aws-credentials@v6 with: role-to-assume: ${{ secrets.MGMT_ROLE }} aws-region: eu-west-1 diff --git a/.github/workflows/tf-lint.yaml b/.github/workflows/tf-lint.yaml index ca08ae82..527136a3 100644 --- a/.github/workflows/tf-lint.yaml +++ b/.github/workflows/tf-lint.yaml @@ -18,11 +18,11 @@ jobs: runs-on: ubuntu-latest steps: - name: 📨 Get Codebase - uses: actions/checkout@v5 + uses: actions/checkout@v6 with: ref: ${{ inputs.branch == 'develop' && '' || inputs.branch }} - - uses: hashicorp/setup-terraform@v2 + - uses: hashicorp/setup-terraform@v4 with: terraform_version: '1.7.3' terraform_wrapper: false diff --git a/.github/workflows/tf-plan.yaml b/.github/workflows/tf-plan.yaml index 1694173b..e3d76a67 100644 --- a/.github/workflows/tf-plan.yaml +++ b/.github/workflows/tf-plan.yaml @@ -44,17 +44,17 @@ jobs: runs-on: ${{ inputs.runner }} steps: - name: 📨 Get Codebase - uses: actions/checkout@v5 + uses: actions/checkout@v6 with: ref: ${{ inputs.branch == 'develop' && '' || inputs.branch }} - - uses: aws-actions/configure-aws-credentials@v5.1.0 + - uses: aws-actions/configure-aws-credentials@v6 with: role-to-assume: ${{ secrets.AWS_MGMT_ROLE }} aws-region: eu-west-1 role-session-name: Terraform-GHA - - uses: hashicorp/setup-terraform@v2 + - uses: hashicorp/setup-terraform@v4 with: terraform_version: ${{ inputs.tf-version }} terraform_wrapper: false @@ -78,7 +78,7 @@ jobs: echo 'Plan Completed ✅' >> $GITHUB_STEP_SUMMARY - name: 📝 Upload Plan - uses: actions/upload-artifact@v4.6.2 + uses: actions/upload-artifact@v7 with: name: plan-${{ github.run_id }} path: | diff --git a/aws-profile-configure/action.yaml b/aws-profile-configure/action.yaml index 58ab9d00..ccc38900 100644 --- a/aws-profile-configure/action.yaml +++ b/aws-profile-configure/action.yaml @@ -23,7 +23,7 @@ runs: - name: Assume AWS Role id: aws-assume - uses: aws-actions/configure-aws-credentials@v5.1.0 + uses: aws-actions/configure-aws-credentials@v6 with: role-to-assume: ${{ inputs.actions-role }} aws-region: ${{ inputs.aws-region }} @@ -61,7 +61,7 @@ runs: - name: Unset AWS Role id: aws-remove - uses: aws-actions/configure-aws-credentials@v5.1.0 + uses: aws-actions/configure-aws-credentials@v6 with: aws-region: ${{ inputs.aws-region }} unset-current-credentials: true diff --git a/build-and-test/action.yaml b/build-and-test/action.yaml index 54f9bf89..8ac0a1ee 100644 --- a/build-and-test/action.yaml +++ b/build-and-test/action.yaml @@ -16,7 +16,7 @@ runs: using: composite steps: - name: 📥 Get Codebase - uses: actions/checkout@v5 + uses: actions/checkout@v6 with: token: ${{ inputs.github-token }} repository: dvsa/cvs-devops diff --git a/build-java-function/action.yaml b/build-java-function/action.yaml index 5d214441..401eebac 100644 --- a/build-java-function/action.yaml +++ b/build-java-function/action.yaml @@ -14,7 +14,7 @@ runs: using: composite steps: - name: Set Up Java 11 - uses: actions/setup-java@v4 + uses: actions/setup-java@v5 with: distribution: 'temurin' # See 'Supported distributions' for available options java-version: ${{ inputs.java-version }} diff --git a/build-node-function/action.yaml b/build-node-function/action.yaml index 55cecd3e..efaacc25 100644 --- a/build-node-function/action.yaml +++ b/build-node-function/action.yaml @@ -29,7 +29,7 @@ runs: using: composite steps: - name: Setup Node.js - uses: actions/setup-node@v4 + uses: actions/setup-node@v6 with: node-version-file: '.nvmrc' @@ -58,7 +58,7 @@ runs: - name: Checkout CVS-NOP if: ${{ inputs.mysql_liquibase == 'true' }} - uses: actions/checkout@v5 + uses: actions/checkout@v6 with: repository: dvsa/cvs-nop path: cvs-nop diff --git a/github-stale-branches/action.yaml b/github-stale-branches/action.yaml index aa25997f..97065372 100644 --- a/github-stale-branches/action.yaml +++ b/github-stale-branches/action.yaml @@ -36,7 +36,7 @@ runs: - name: Cache Jira Tickets if: inputs.repository == '' - uses: actions/upload-artifact@v6 + uses: actions/upload-artifact@v7 with: name: jira-cache path: ./cache/*.json @@ -44,7 +44,7 @@ runs: - name: Read Jira Ticket Cache if: inputs.repository != '' - uses: actions/download-artifact@v7 + uses: actions/download-artifact@v8 with: name: jira-cache path: ./cache @@ -58,7 +58,7 @@ runs: python ${{ github.action_path }}/main.py ${{ inputs.repository }} - name: Upload Results - uses: actions/upload-artifact@v6 + uses: actions/upload-artifact@v7 if: inputs.repository != '' with: name: ${{ inputs.repository }} diff --git a/matrix-output/action.yaml b/matrix-output/action.yaml index c30b5313..adbc9bfc 100644 --- a/matrix-output/action.yaml +++ b/matrix-output/action.yaml @@ -14,6 +14,6 @@ runs: using: composite steps: - name: Setup Node.js - uses: actions/setup-node@v4 + uses: actions/setup-node@v6 with: node-version-file: '.nvmrc' diff --git a/mysql-create-schema/action.yaml b/mysql-create-schema/action.yaml index e190f9ae..94336cf5 100644 --- a/mysql-create-schema/action.yaml +++ b/mysql-create-schema/action.yaml @@ -40,7 +40,7 @@ runs: using: composite steps: - name: 📥 Get Schema Codebase - uses: actions/checkout@v5 + uses: actions/checkout@v6 with: repository: dvsa/cvs-${{ inputs.schema-short-name }} ref: ${{ inputs.github-branch == 'develop' && '' || inputs.github-branch }} diff --git a/mysql-drop-schema/action.yaml b/mysql-drop-schema/action.yaml index 1aaa21aa..11c0486e 100644 --- a/mysql-drop-schema/action.yaml +++ b/mysql-drop-schema/action.yaml @@ -25,7 +25,7 @@ runs: - name: Assume AWS Role id: aws-assume if: ${{ inputs.aws-role != '' }} - uses: aws-actions/configure-aws-credentials@v5.1.0 + uses: aws-actions/configure-aws-credentials@v6 with: role-to-assume: ${{ inputs.role-to-assume }} aws-region: ${{ inputs.aws-region }} @@ -49,7 +49,7 @@ runs: - name: Unset AWS Role id: aws-remove if: ${{ inputs.aws-role != '' }} - uses: aws-actions/configure-aws-credentials@v5.1.0 + uses: aws-actions/configure-aws-credentials@v6 with: aws-region: ${{ inputs.aws-region }} unset-current-credentials: true diff --git a/release-commits/action.yaml b/release-commits/action.yaml index 26690054..20e549da 100644 --- a/release-commits/action.yaml +++ b/release-commits/action.yaml @@ -14,7 +14,7 @@ runs: using: composite steps: - name: 📥 Get Codebase - uses: actions/checkout@v5 + uses: actions/checkout@v6 with: ref: ${{ github.ref_name == 'develop' && '' || github.ref_name }} token: ${{ inputs.cvs_ops_pat }} @@ -34,7 +34,7 @@ runs: done - name: ⏫ Upload Log - uses: actions/upload-artifact@v4.6.2 + uses: actions/upload-artifact@v7 with: name: Release Change Log ${{ inputs.PREVIOUS }} to ${{ inputs.LATEST }} path: | diff --git a/seed-all-tables/action.yaml b/seed-all-tables/action.yaml index 275ff641..9776daf4 100644 --- a/seed-all-tables/action.yaml +++ b/seed-all-tables/action.yaml @@ -15,7 +15,7 @@ runs: steps: - name: 📥 Get Codebase - uses: actions/checkout@v5 + uses: actions/checkout@v6 with: repository: ${{ inputs.repository }} ref: ${{ inputs.github-branch == 'develop' && '' || inputs.github-branch }} diff --git a/service-build/action.yaml b/service-build/action.yaml index f6cc9c88..c244f34e 100644 --- a/service-build/action.yaml +++ b/service-build/action.yaml @@ -20,7 +20,7 @@ runs: using: composite steps: - name: 📨 Checkout - uses: actions/checkout@v5 + uses: actions/checkout@v6 - name: 🔍 Read .nvmrc id: nvm @@ -28,7 +28,7 @@ runs: run: echo "NVMRC=$(cat .nvmrc)" >> $GITHUB_ENV - name: ⚙️ Setup Node.js ${{ env.NVMRC }} - uses: actions/setup-node@v4 + uses: actions/setup-node@v6 with: node-version: ${{ env.NVMRC }} cache: 'npm' @@ -59,7 +59,7 @@ runs: continue-on-error: ${{ inputs.ignore_fail == 'true' }} - name: ☁️ Upload to GitHub Summary - uses: actions/upload-artifact@v4.6.2 + uses: actions/upload-artifact@v7 with: name: ${{ github.event.repository.name }}-artifacts-${{ github.event.pull_request.number || github.run_id }} retention-days: 5 diff --git a/service-store/action.yaml b/service-store/action.yaml index 3fe23f6b..23edea94 100644 --- a/service-store/action.yaml +++ b/service-store/action.yaml @@ -18,7 +18,7 @@ runs: using: composite steps: - name: Get Artifact - uses: actions/download-artifact@v5 + uses: actions/download-artifact@v8 with: name: ${{ github.event.repository.name }}-artifacts-${{ github.event.pull_request.number || github.run_id }} path: artifacts diff --git a/spinup-ec2/action.yaml b/spinup-ec2/action.yaml index de9a36ab..43415dd8 100644 --- a/spinup-ec2/action.yaml +++ b/spinup-ec2/action.yaml @@ -13,7 +13,7 @@ runs: using: composite steps: - name: ♦️ Get DB Secrets - uses: aws-actions/aws-secretsmanager-get-secrets@v2.0.10 + uses: aws-actions/aws-secretsmanager-get-secrets@v3 with: secret-ids: | cvs-wms/env diff --git a/terraform-apply/action.yaml b/terraform-apply/action.yaml index eec81e3f..f391aa7d 100644 --- a/terraform-apply/action.yaml +++ b/terraform-apply/action.yaml @@ -48,7 +48,7 @@ runs: working-directory: ${{ inputs.working-directory }} - name: Retrieve Plan - uses: actions/download-artifact@v5 + uses: actions/download-artifact@v8 with: name: ${{ inputs.artifact-name }}-${{ inputs.run-id }} path: ${{ inputs.working-directory }} diff --git a/terraform-initialize/action.yaml b/terraform-initialize/action.yaml index de2ea284..7b0c00de 100644 --- a/terraform-initialize/action.yaml +++ b/terraform-initialize/action.yaml @@ -26,7 +26,7 @@ runs: steps: - name: Configure Terraform id: terraform_config - uses: hashicorp/setup-terraform@v3 + uses: hashicorp/setup-terraform@v4 with: terraform_version: ${{ inputs.terraform-version }} terraform_wrapper: false diff --git a/terraform-plan/action.yaml b/terraform-plan/action.yaml index 77913c52..6fd705fa 100644 --- a/terraform-plan/action.yaml +++ b/terraform-plan/action.yaml @@ -102,7 +102,7 @@ runs: file: ${{ format('{0}/terraform.tfplan', inputs.working-directory != '' && inputs.working-directory || '.') }} - name: 📝 Upload Plan - uses: actions/upload-artifact@v4.6.2 + uses: actions/upload-artifact@v7 with: name: ${{ inputs.artifact-name }}-${{ github.run_id }} path: | diff --git a/terraform-pr-comment/action.yaml b/terraform-pr-comment/action.yaml index 73e5db36..1aeadc5b 100644 --- a/terraform-pr-comment/action.yaml +++ b/terraform-pr-comment/action.yaml @@ -23,7 +23,7 @@ runs: using: "composite" steps: - - uses: actions/github-script@v6 + - uses: actions/github-script@v9 with: github-token: ${{ inputs.github-token }} script: | diff --git a/terraform-scan/action.yaml b/terraform-scan/action.yaml index 219c6c43..2f52aeff 100644 --- a/terraform-scan/action.yaml +++ b/terraform-scan/action.yaml @@ -60,7 +60,7 @@ runs: shell: bash - name: 📝 Upload Report - uses: actions/upload-artifact@v4.6.2 + uses: actions/upload-artifact@v7 with: name: checkov-report-${{ github.run_id }} path: checkov-report-${{ github.run_id }}.md