diff --git a/.github/workflows/cicd-4-pr-title-check.yaml b/.github/workflows/cicd-4-pr-title-check.yaml index 5b42a8f1..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@4e781d1d72739015821a380871aa5a66d070177c # 3.1.0 + 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 bdd73ee7..f7745fd3 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.0.8 + 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.0.8 + 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.0.8 + uses: NHSDigital/nhs-notify-shared-modules/.github/actions/check-markdown-format@4.0.0 terraform-docs: name: "Run terraform-docs" runs-on: ubuntu-latest @@ -107,7 +107,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.0.8 + 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 @@ -118,7 +118,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.0.8 + 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 @@ -153,7 +153,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.0.8 + 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" @@ -192,7 +192,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.0.8 + 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 }}" @@ -208,7 +208,7 @@ jobs: - name: "Checkout code" uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6 - name: "Scan dependencies" - uses: NHSDigital/nhs-notify-shared-modules/.github/actions/scan-dependencies@3.0.8 + 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 56a604ba..f9f6629e 100644 --- a/.github/workflows/stage-2-test.yaml +++ b/.github/workflows/stage-2-test.yaml @@ -110,7 +110,7 @@ jobs: with: name: code-coverage-report - name: "Perform static analysis" - uses: NHSDigital/nhs-notify-shared-modules/.github/actions/perform-static-analysis@3.0.8 + 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 }}"