Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/branch-actioner.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}

Expand Down Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/build-java-hash.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/build-mobile.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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'

Expand All @@ -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
Expand Down Expand Up @@ -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
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/build-node-hash.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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'

Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/clear-stale-branches.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
runs-on: X64
steps:
- name: Get Codebase
uses: actions/checkout@v5
uses: actions/checkout@v6

- name: Check References
run: |
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/node-ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/node-service-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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 }}
Expand Down Expand Up @@ -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 }}
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/openapi-gen.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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"
Expand All @@ -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
Expand Down Expand Up @@ -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: |
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/terraform-plan.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -63,15 +63,15 @@ 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: |
plan.txt
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:
Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/test-mobile.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand All @@ -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 }}
Expand All @@ -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
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/tf-apply.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/tf-destroy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/tf-lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/tf-plan.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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: |
Expand Down
Loading