diff --git a/.github/workflows/cicd-4-pr-title-check.yaml b/.github/workflows/cicd-4-pr-title-check.yaml index 401e5b7d..a5c938df 100644 --- a/.github/workflows/cicd-4-pr-title-check.yaml +++ b/.github/workflows/cicd-4-pr-title-check.yaml @@ -15,6 +15,6 @@ jobs: runs-on: ubuntu-latest steps: - name: "Check PR title format" - uses: NHSDigital/nhs-notify-shared-modules/.github/actions/check-pr-title-format@3.1.2 + uses: NHSDigital/nhs-notify-shared-modules/.github/actions/check-pr-title-format@4.0.0 with: title: ${{ github.event.pull_request.title }} diff --git a/.github/workflows/stage-1-commit.yaml b/.github/workflows/stage-1-commit.yaml index d70bc900..0c33df06 100644 --- a/.github/workflows/stage-1-commit.yaml +++ b/.github/workflows/stage-1-commit.yaml @@ -52,7 +52,7 @@ jobs: with: fetch-depth: 0 # Full history is needed to scan all commits - name: "Scan secrets" - uses: NHSDigital/nhs-notify-shared-modules/.github/actions/scan-secrets@3.1.2 + uses: NHSDigital/nhs-notify-shared-modules/.github/actions/scan-secrets@4.0.0 check-file-format: name: "Check file format" runs-on: ubuntu-latest @@ -63,7 +63,7 @@ jobs: with: fetch-depth: 0 # Full history is needed to compare branches - name: "Check file format" - uses: NHSDigital/nhs-notify-shared-modules/.github/actions/check-file-format@3.1.2 + uses: NHSDigital/nhs-notify-shared-modules/.github/actions/check-file-format@4.0.0 check-markdown-format: name: "Check Markdown format" runs-on: ubuntu-latest @@ -74,7 +74,7 @@ jobs: with: fetch-depth: 0 # Full history is needed to compare branches - name: "Check Markdown format" - uses: NHSDigital/nhs-notify-shared-modules/.github/actions/check-markdown-format@3.1.2 + uses: NHSDigital/nhs-notify-shared-modules/.github/actions/check-markdown-format@4.0.0 terraform-docs: name: "Run terraform-docs" runs-on: ubuntu-latest @@ -109,7 +109,7 @@ jobs: with: fetch-depth: 0 # Full history is needed to compare branches - name: "Check English usage" - uses: NHSDigital/nhs-notify-shared-modules/.github/actions/check-english-usage@3.1.2 + uses: NHSDigital/nhs-notify-shared-modules/.github/actions/check-english-usage@4.0.0 check-todo-usage: name: "Check TODO usage" runs-on: ubuntu-latest @@ -120,7 +120,7 @@ jobs: with: fetch-depth: 0 # Full history is needed to compare branches - name: "Check TODO usage" - uses: NHSDigital/nhs-notify-shared-modules/.github/actions/check-todo-usage@3.1.2 + uses: NHSDigital/nhs-notify-shared-modules/.github/actions/check-todo-usage@4.0.0 detect-terraform-changes: name: "Detect Terraform Changes" runs-on: ubuntu-latest @@ -156,7 +156,7 @@ jobs: - name: "Setup ASDF" uses: asdf-vm/actions/setup@1902764435ca0dd2f3388eea723a4f92a4eb8302 - name: "Lint Terraform" - uses: NHSDigital/nhs-notify-shared-modules/.github/actions/lint-terraform@3.1.2 + uses: NHSDigital/nhs-notify-shared-modules/.github/actions/lint-terraform@4.0.0 #TODO - Re-visit Trivy usage https://nhsd-jira.digital.nhs.uk/browse/CCM-15549 # trivy-iac: # name: "Trivy IaC Scan" @@ -198,7 +198,7 @@ jobs: - name: "Checkout code" uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6 - name: "Count lines of code" - uses: NHSDigital/nhs-notify-shared-modules/.github/actions/create-lines-of-code-report@3.1.2 + uses: NHSDigital/nhs-notify-shared-modules/.github/actions/create-lines-of-code-report@4.0.0 with: build_datetime: "${{ inputs.build_datetime }}" build_timestamp: "${{ inputs.build_timestamp }}" @@ -217,7 +217,7 @@ jobs: - name: "Checkout code" uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6 - name: "Scan dependencies" - uses: NHSDigital/nhs-notify-shared-modules/.github/actions/scan-dependencies@3.1.2 + uses: NHSDigital/nhs-notify-shared-modules/.github/actions/scan-dependencies@4.0.0 with: build_datetime: "${{ inputs.build_datetime }}" build_timestamp: "${{ inputs.build_timestamp }}" diff --git a/.github/workflows/stage-2-test.yaml b/.github/workflows/stage-2-test.yaml index 236d56ef..9055d5e2 100644 --- a/.github/workflows/stage-2-test.yaml +++ b/.github/workflows/stage-2-test.yaml @@ -108,7 +108,7 @@ jobs: with: name: code-coverage-report - name: "Perform static analysis" - uses: NHSDigital/nhs-notify-shared-modules/.github/actions/perform-static-analysis@3.1.2 + uses: NHSDigital/nhs-notify-shared-modules/.github/actions/perform-static-analysis@4.0.0 with: sonar_organisation_key: "${{ vars.SONAR_ORGANISATION_KEY }}" sonar_project_key: "${{ vars.SONAR_PROJECT_KEY }}"