diff --git a/.github/workflows/cicd-4-pr-title-check.yaml b/.github/workflows/cicd-4-pr-title-check.yaml index 2e012703..0af45487 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@5.0.7 # NOSONAR - githubactions:S7637 - internally controlled repo, pinned by tag + uses: NHSDigital/nhs-notify-shared-modules/.github/actions/check-pr-title-format@5.1.0 # NOSONAR - githubactions:S7637 - internally controlled repo, pinned by tag with: title: ${{ github.event.pull_request.title }} diff --git a/.github/workflows/scorecard.yml b/.github/workflows/scorecard.yml index 5347b49c..d8f5deb0 100644 --- a/.github/workflows/scorecard.yml +++ b/.github/workflows/scorecard.yml @@ -69,6 +69,6 @@ jobs: # Upload the results to GitHub's code scanning dashboard (optional). # Commenting out will disable upload of results to your repo's Code Scanning dashboard - name: "Upload to code-scanning" - uses: github/codeql-action/upload-sarif@5595ccaf912efad79be6eef63a5619ff05969be3 # v4.37.6 + uses: github/codeql-action/upload-sarif@ff2f1c621b7f889edc0d3c761ac2e6a3f8cdb0dd # v4.37.7 with: sarif_file: results.sarif diff --git a/.github/workflows/stage-1-commit.yaml b/.github/workflows/stage-1-commit.yaml index 230a4929..137a7473 100644 --- a/.github/workflows/stage-1-commit.yaml +++ b/.github/workflows/stage-1-commit.yaml @@ -47,7 +47,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@5.0.7 # NOSONAR - githubactions:S7637 - internally controlled repo, pinned by tag + uses: NHSDigital/nhs-notify-shared-modules/.github/actions/scan-secrets@5.1.0 # NOSONAR - githubactions:S7637 - internally controlled repo, pinned by tag check-file-format: name: "Check file format" runs-on: ubuntu-latest @@ -58,7 +58,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@5.0.7 # NOSONAR - githubactions:S7637 - internally controlled repo, pinned by tag + uses: NHSDigital/nhs-notify-shared-modules/.github/actions/check-file-format@5.1.0 # NOSONAR - githubactions:S7637 - internally controlled repo, pinned by tag check-markdown-format: name: "Check Markdown format" runs-on: ubuntu-latest @@ -69,7 +69,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@5.0.7 # NOSONAR - githubactions:S7637 - internally controlled repo, pinned by tag + uses: NHSDigital/nhs-notify-shared-modules/.github/actions/check-markdown-format@5.1.0 # NOSONAR - githubactions:S7637 - internally controlled repo, pinned by tag terraform-docs: name: "Run terraform-docs" runs-on: ubuntu-latest @@ -104,7 +104,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@5.0.7 # NOSONAR - githubactions:S7637 - internally controlled repo, pinned by tag + uses: NHSDigital/nhs-notify-shared-modules/.github/actions/check-english-usage@5.1.0 # NOSONAR - githubactions:S7637 - internally controlled repo, pinned by tag check-todo-usage: name: "Check TODO usage" runs-on: ubuntu-latest @@ -115,7 +115,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@5.0.7 # NOSONAR - githubactions:S7637 - internally controlled repo, pinned by tag + uses: NHSDigital/nhs-notify-shared-modules/.github/actions/check-todo-usage@5.1.0 # NOSONAR - githubactions:S7637 - internally controlled repo, pinned by tag detect-terraform-changes: name: "Detect Terraform Changes" runs-on: ubuntu-latest @@ -151,7 +151,7 @@ jobs: - name: "Setup ASDF" uses: asdf-vm/actions/setup@b7bcd026f18772e44fe1026d729e1611cc435d47 # v4.0.1 - name: "Lint Terraform" - uses: NHSDigital/nhs-notify-shared-modules/.github/actions/lint-terraform@5.0.7 # NOSONAR - githubactions:S7637 - internally controlled repo, pinned by tag + uses: NHSDigital/nhs-notify-shared-modules/.github/actions/lint-terraform@5.1.0 # NOSONAR - githubactions:S7637 - internally controlled repo, pinned by tag count-lines-of-code: name: "Count lines of code" runs-on: ubuntu-latest @@ -163,7 +163,7 @@ jobs: - name: "Checkout code" uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 - name: "Count lines of code" - uses: NHSDigital/nhs-notify-shared-modules/.github/actions/create-lines-of-code-report@5.0.7 # NOSONAR - githubactions:S7637 - internally controlled repo, pinned by tag + uses: NHSDigital/nhs-notify-shared-modules/.github/actions/create-lines-of-code-report@5.1.0 # NOSONAR - githubactions:S7637 - internally controlled repo, pinned by tag with: build_datetime: "${{ inputs.build_datetime }}" build_timestamp: "${{ inputs.build_timestamp }}" @@ -182,7 +182,7 @@ jobs: - name: "Checkout code" uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 - name: "Scan dependencies" - uses: NHSDigital/nhs-notify-shared-modules/.github/actions/scan-dependencies@5.0.7 # NOSONAR - githubactions:S7637 - internally controlled repo, pinned by tag + uses: NHSDigital/nhs-notify-shared-modules/.github/actions/scan-dependencies@5.1.0 # NOSONAR - githubactions:S7637 - internally controlled repo, pinned by tag 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 5eaa56bb..816061fb 100644 --- a/.github/workflows/stage-2-test.yaml +++ b/.github/workflows/stage-2-test.yaml @@ -145,7 +145,7 @@ jobs: with: name: code-coverage-report - name: "Perform static analysis" - uses: NHSDigital/nhs-notify-shared-modules/.github/actions/perform-static-analysis@5.0.7 # NOSONAR - githubactions:S7637 - internally controlled repo, pinned by tag + uses: NHSDigital/nhs-notify-shared-modules/.github/actions/perform-static-analysis@5.1.0 # NOSONAR - githubactions:S7637 - internally controlled repo, pinned by tag with: sonar_organisation_key: "${{ vars.SONAR_ORGANISATION_KEY }}" sonar_project_key: "${{ vars.SONAR_PROJECT_KEY }}"