@@ -47,33 +47,33 @@ jobs:
4747 timeout-minutes : 5
4848 steps :
4949 - name : " Checkout code"
50- uses : actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5
50+ uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
5151 with :
5252 fetch-depth : 0 # Full history is needed to scan all commits
5353 - name : " Scan secrets"
54- uses : NHSDigital/nhs-notify-shared-modules/.github/actions/scan-secrets@4 .0.0
54+ uses : NHSDigital/nhs-notify-shared-modules/.github/actions/scan-secrets@5be2f2e952a6f439fb673e04aac5f5b7afcc2c2f # v4 .0.1
5555 check-file-format :
5656 name : " Check file format"
5757 runs-on : ubuntu-latest
5858 timeout-minutes : 5
5959 steps :
6060 - name : " Checkout code"
61- uses : actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5
61+ uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
6262 with :
6363 fetch-depth : 0 # Full history is needed to compare branches
6464 - name : " Check file format"
65- uses : NHSDigital/nhs-notify-shared-modules/.github/actions/check-file-format@4 .0.0
65+ uses : NHSDigital/nhs-notify-shared-modules/.github/actions/check-file-format@5be2f2e952a6f439fb673e04aac5f5b7afcc2c2f # v4 .0.1
6666 check-markdown-format :
6767 name : " Check Markdown format"
6868 runs-on : ubuntu-latest
6969 timeout-minutes : 5
7070 steps :
7171 - name : " Checkout code"
72- uses : actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5
72+ uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
7373 with :
7474 fetch-depth : 0 # Full history is needed to compare branches
7575 - name : " Check Markdown format"
76- uses : NHSDigital/nhs-notify-shared-modules/.github/actions/check-markdown-format@4 .0.0
76+ uses : NHSDigital/nhs-notify-shared-modules/.github/actions/check-markdown-format@5be2f2e952a6f439fb673e04aac5f5b7afcc2c2f # v4 .0.1
7777 terraform-docs :
7878 name : " Run terraform-docs"
7979 runs-on : ubuntu-latest
8383 contents : write
8484 steps :
8585 - name : " Checkout code"
86- uses : actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5
86+ uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
8787 with :
8888 fetch-depth : 0 # Full history is needed to compare branches
8989 - name : " Check to see if Terraform Docs are up-to-date"
@@ -104,30 +104,30 @@ jobs:
104104 timeout-minutes : 5
105105 steps :
106106 - name : " Checkout code"
107- uses : actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5
107+ uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
108108 with :
109109 fetch-depth : 0 # Full history is needed to compare branches
110110 - name : " Check English usage"
111- uses : NHSDigital/nhs-notify-shared-modules/.github/actions/check-english-usage@4 .0.0
111+ uses : NHSDigital/nhs-notify-shared-modules/.github/actions/check-english-usage@5be2f2e952a6f439fb673e04aac5f5b7afcc2c2f # v4 .0.1
112112 check-todo-usage :
113113 name : " Check TODO usage"
114114 runs-on : ubuntu-latest
115115 timeout-minutes : 5
116116 steps :
117117 - name : " Checkout code"
118- uses : actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5
118+ uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
119119 with :
120120 fetch-depth : 0 # Full history is needed to compare branches
121121 - name : " Check TODO usage"
122- uses : NHSDigital/nhs-notify-shared-modules/.github/actions/check-todo-usage@4 .0.0
122+ uses : NHSDigital/nhs-notify-shared-modules/.github/actions/check-todo-usage@5be2f2e952a6f439fb673e04aac5f5b7afcc2c2f # v4 .0.1
123123 detect-terraform-changes :
124124 name : " Detect Terraform Changes"
125125 runs-on : ubuntu-latest
126126 outputs :
127127 terraform_changed : ${{ steps.check.outputs.terraform_changed }}
128128 steps :
129129 - name : " Checkout code"
130- uses : actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5
130+ uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
131131 - name : " Check for Terraform changes"
132132 id : check
133133 run : |
@@ -150,11 +150,11 @@ jobs:
150150 if : needs.detect-terraform-changes.outputs.terraform_changed == 'true'
151151 steps :
152152 - name : " Checkout code"
153- uses : actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5
153+ uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
154154 - name : " Setup ASDF"
155155 uses : asdf-vm/actions/setup@1902764435ca0dd2f3388eea723a4f92a4eb8302
156156 - name : " Lint Terraform"
157- uses : NHSDigital/nhs-notify-shared-modules/.github/actions/lint-terraform@4 .0.0
157+ uses : NHSDigital/nhs-notify-shared-modules/.github/actions/lint-terraform@5be2f2e952a6f439fb673e04aac5f5b7afcc2c2f # v4 .0.1
158158 # TODO - Re-visit Trivy usage https://nhsd-jira.digital.nhs.uk/browse/CCM-15549
159159 # trivy-iac:
160160 # name: "Trivy IaC Scan"
@@ -198,9 +198,9 @@ jobs:
198198 timeout-minutes : 5
199199 steps :
200200 - name : " Checkout code"
201- uses : actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5
201+ uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
202202 - name : " Count lines of code"
203- uses : NHSDigital/nhs-notify-shared-modules/.github/actions/create-lines-of-code-report@4 .0.0
203+ uses : NHSDigital/nhs-notify-shared-modules/.github/actions/create-lines-of-code-report@5be2f2e952a6f439fb673e04aac5f5b7afcc2c2f # v4 .0.1
204204 with :
205205 build_datetime : " ${{ inputs.build_datetime }}"
206206 build_timestamp : " ${{ inputs.build_timestamp }}"
@@ -217,9 +217,9 @@ jobs:
217217 timeout-minutes : 5
218218 steps :
219219 - name : " Checkout code"
220- uses : actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5
220+ uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
221221 - name : " Scan dependencies"
222- uses : NHSDigital/nhs-notify-shared-modules/.github/actions/scan-dependencies@4 .0.0
222+ uses : NHSDigital/nhs-notify-shared-modules/.github/actions/scan-dependencies@5be2f2e952a6f439fb673e04aac5f5b7afcc2c2f # v4 .0.1
223223 with :
224224 build_datetime : " ${{ inputs.build_datetime }}"
225225 build_timestamp : " ${{ inputs.build_timestamp }}"
@@ -302,9 +302,9 @@ jobs:
302302 packages : read
303303 steps :
304304 - name : Checkout code
305- uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5 .0.0
305+ uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6 .0.2
306306 - name : Setup NodeJS
307- uses : actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4
307+ uses : actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
308308 with :
309309 node-version : ${{ inputs.nodejs_version }}
310310 registry-url : " https://npm.pkg.github.com"
0 commit comments