Skip to content

Commit bac64db

Browse files
authored
CCM-18143: Updating_Github_Actions (#114)
1 parent 694e9d2 commit bac64db

7 files changed

Lines changed: 18 additions & 18 deletions

File tree

.github/actions/build-docs/action.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,23 +9,23 @@ runs:
99
steps:
1010
- name: Checkout
1111
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
12-
- uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4
12+
- uses: actions/setup-node@a0853c24544627f65ddf259abe73b1d18a591444 # v5
1313
with:
1414
node-version: 18
1515
- name: Install docs node dependencies
1616
working-directory: ./docs
1717
run: pnpm --ignore-workspace install --frozen-lockfile
1818
shell: bash
1919
- name: Setup Ruby
20-
uses: ruby/setup-ruby@3783f195e29b74ae398d7caca108814bbafde90e # v1.180.1
20+
uses: ruby/setup-ruby@4eb9f110bac952a8b68ecf92e3b5c7a987594ba6 # v1.292.0
2121
with:
2222
ruby-version: "3.2" # Not needed with a .ruby-version file
2323
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
2424
cache-version: 0 # Increment this number if you need to re-download cached gems
2525
working-directory: "./docs"
2626
- name: Setup Pages
2727
id: pages
28-
uses: actions/configure-pages@983d7736d9b0ae728b81ab479565c72886d7745b # v5
28+
uses: actions/configure-pages@45bfe0192ca1faeb007ade9deae92b16b8254a0d # v6
2929
- name: Build with Jekyll
3030
working-directory: ./docs
3131
# Outputs to the './_site' directory by default

.github/workflows/cicd-3-deploy.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,6 @@ jobs:
115115

116116
- name: Deploy to GitHub Pages
117117
id: deployment
118-
uses: actions/deploy-pages@d6db90164ac5ed86f2b6aed7e0febac5b3c0c03e # v4
118+
uses: actions/deploy-pages@cd2ce8fcbc39b97be8ca5fce6e763baed58fa128 # v5
119119
with:
120120
artifact_name: jekyll-docs-${{steps.get-asset-version.outputs.release_version}}

.github/workflows/cicd-4-pr-title-check.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,6 @@ jobs:
1515
runs-on: ubuntu-latest
1616
steps:
1717
- name: "Check PR title format"
18-
uses: NHSDigital/nhs-notify-shared-modules/.github/actions/check-pr-title-format@4.0.0
18+
uses: NHSDigital/nhs-notify-shared-modules/.github/actions/check-pr-title-format@v4.0.3
1919
with:
2020
title: ${{ github.event.pull_request.title }}

.github/workflows/scheduled-repository-template-sync.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
3232
- name: Create Pull Request
3333
if: ${{ !env.ACT }}
34-
uses: peter-evans/create-pull-request@271a8d0340265f705b14b6d32b9829c1cb33d45e # v7.0.8
34+
uses: peter-evans/create-pull-request@98357b18bf14b5342f975ff684046ec3b2a07725 # v8.0.0
3535
with:
3636
token: ${{ secrets.GITHUB_TOKEN }}
3737
commit-message: Drift from template

.github/workflows/scorecard.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333

3434
steps:
3535
- name: "Checkout code"
36-
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
36+
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
3737
with:
3838
persist-credentials: false
3939

@@ -69,6 +69,6 @@ jobs:
6969
# Upload the results to GitHub's code scanning dashboard (optional).
7070
# Commenting out will disable upload of results to your repo's Code Scanning dashboard
7171
- name: "Upload to code-scanning"
72-
uses: github/codeql-action/upload-sarif@fca7ace96b7d713c7035871441bd52efbe39e27e # v3.28.19
72+
uses: github/codeql-action/upload-sarif@e296a935590eb16afc0c0108289f68c87e2a89a5 # v4.30.7
7373
with:
7474
sarif_file: results.sarif

.github/workflows/stage-1-commit.yaml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ jobs:
5252
with:
5353
fetch-depth: 0 # Full history is needed to scan all commits
5454
- name: "Scan secrets"
55-
uses: NHSDigital/nhs-notify-shared-modules/.github/actions/scan-secrets@4.0.0
55+
uses: NHSDigital/nhs-notify-shared-modules/.github/actions/scan-secrets@v4.0.3
5656
check-file-format:
5757
name: "Check file format"
5858
runs-on: ubuntu-latest
@@ -63,7 +63,7 @@ jobs:
6363
with:
6464
fetch-depth: 0 # Full history is needed to compare branches
6565
- name: "Check file format"
66-
uses: NHSDigital/nhs-notify-shared-modules/.github/actions/check-file-format@4.0.0
66+
uses: NHSDigital/nhs-notify-shared-modules/.github/actions/check-file-format@v4.0.3
6767
check-markdown-format:
6868
name: "Check Markdown format"
6969
runs-on: ubuntu-latest
@@ -74,7 +74,7 @@ jobs:
7474
with:
7575
fetch-depth: 0 # Full history is needed to compare branches
7676
- name: "Check Markdown format"
77-
uses: NHSDigital/nhs-notify-shared-modules/.github/actions/check-markdown-format@4.0.0
77+
uses: NHSDigital/nhs-notify-shared-modules/.github/actions/check-markdown-format@v4.0.3
7878
terraform-docs:
7979
name: "Run terraform-docs"
8080
runs-on: ubuntu-latest
@@ -109,7 +109,7 @@ jobs:
109109
with:
110110
fetch-depth: 0 # Full history is needed to compare branches
111111
- name: "Check English usage"
112-
uses: NHSDigital/nhs-notify-shared-modules/.github/actions/check-english-usage@4.0.0
112+
uses: NHSDigital/nhs-notify-shared-modules/.github/actions/check-english-usage@v4.0.3
113113
check-todo-usage:
114114
name: "Check TODO usage"
115115
runs-on: ubuntu-latest
@@ -120,7 +120,7 @@ jobs:
120120
with:
121121
fetch-depth: 0 # Full history is needed to compare branches
122122
- name: "Check TODO usage"
123-
uses: NHSDigital/nhs-notify-shared-modules/.github/actions/check-todo-usage@4.0.0
123+
uses: NHSDigital/nhs-notify-shared-modules/.github/actions/check-todo-usage@v4.0.3
124124
detect-terraform-changes:
125125
name: "Detect Terraform Changes"
126126
runs-on: ubuntu-latest
@@ -154,9 +154,9 @@ jobs:
154154
- name: "Checkout code"
155155
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
156156
- name: "Setup ASDF"
157-
uses: asdf-vm/actions/setup@1902764435ca0dd2f3388eea723a4f92a4eb8302
157+
uses: asdf-vm/actions/setup@b7bcd026f18772e44fe1026d729e1611cc435d47 # v4.0.1
158158
- name: "Lint Terraform"
159-
uses: NHSDigital/nhs-notify-shared-modules/.github/actions/lint-terraform@4.0.0
159+
uses: NHSDigital/nhs-notify-shared-modules/.github/actions/lint-terraform@v4.0.3
160160
#TODO - Re-visit Trivy usage https://nhsd-jira.digital.nhs.uk/browse/CCM-15549
161161
# trivy-iac:
162162
# name: "Trivy IaC Scan"
@@ -198,7 +198,7 @@ jobs:
198198
- name: "Checkout code"
199199
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
200200
- name: "Count lines of code"
201-
uses: NHSDigital/nhs-notify-shared-modules/.github/actions/create-lines-of-code-report@4.0.0
201+
uses: NHSDigital/nhs-notify-shared-modules/.github/actions/create-lines-of-code-report@v4.0.3
202202
with:
203203
build_datetime: "${{ inputs.build_datetime }}"
204204
build_timestamp: "${{ inputs.build_timestamp }}"
@@ -217,7 +217,7 @@ jobs:
217217
- name: "Checkout code"
218218
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
219219
- name: "Scan dependencies"
220-
uses: NHSDigital/nhs-notify-shared-modules/.github/actions/scan-dependencies@4.0.0
220+
uses: NHSDigital/nhs-notify-shared-modules/.github/actions/scan-dependencies@v4.0.3
221221
with:
222222
build_datetime: "${{ inputs.build_datetime }}"
223223
build_timestamp: "${{ inputs.build_timestamp }}"

.github/workflows/stage-2-test.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ jobs:
108108
with:
109109
name: code-coverage-report
110110
- name: "Perform static analysis"
111-
uses: NHSDigital/nhs-notify-shared-modules/.github/actions/perform-static-analysis@4.0.0
111+
uses: NHSDigital/nhs-notify-shared-modules/.github/actions/perform-static-analysis@v4.0.3
112112
with:
113113
sonar_organisation_key: "${{ vars.SONAR_ORGANISATION_KEY }}"
114114
sonar_project_key: "${{ vars.SONAR_PROJECT_KEY }}"

0 commit comments

Comments
 (0)