Skip to content

Commit 3331f22

Browse files
committed
CCM-15257: Bumping Node 20 Actions to Node 24 versions
1 parent 636caaa commit 3331f22

12 files changed

Lines changed: 39 additions & 39 deletions

File tree

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ runs:
88
using: "composite"
99
steps:
1010
- name: Checkout
11-
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
11+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
1212
- uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4
1313
with:
1414
node-version: 22

.github/actions/create-lines-of-code-report/action.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ runs:
3232
run: zip lines-of-code-report.json.zip lines-of-code-report.json
3333
- name: "Upload CLOC report as an artefact"
3434
if: ${{ !env.ACT }}
35-
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
35+
uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6
3636
with:
3737
name: lines-of-code-report.json.zip
3838
path: ./lines-of-code-report.json.zip
@@ -44,7 +44,7 @@ runs:
4444
echo "secrets_exist=${{ inputs.idp_aws_report_upload_role_name != '' && inputs.idp_aws_report_upload_bucket_endpoint != '' }}" >> $GITHUB_OUTPUT
4545
- name: "Authenticate to send the report"
4646
if: steps.check.outputs.secrets_exist == 'true'
47-
uses: aws-actions/configure-aws-credentials@7474bc4690e29a8392af63c5b98e7449536d5c3a # v4
47+
uses: aws-actions/configure-aws-credentials@ec61189d14ec14c8efccab744f656cffd0e33f37 # v6
4848
with:
4949
role-to-assume: arn:aws:iam::${{ inputs.idp_aws_report_upload_account_id }}:role/${{ inputs.idp_aws_report_upload_role_name }}
5050
aws-region: ${{ inputs.idp_aws_report_upload_region }}

.github/actions/scan-dependencies/action.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ runs:
3232
run: zip sbom-repository-report.json.zip sbom-repository-report.json
3333
- name: "Upload SBOM report as an artefact"
3434
if: ${{ !env.ACT }}
35-
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
35+
uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6
3636
with:
3737
name: sbom-repository-report.json.zip
3838
path: ./sbom-repository-report.json.zip
@@ -47,7 +47,7 @@ runs:
4747
run: zip vulnerabilities-repository-report.json.zip vulnerabilities-repository-report.json
4848
- name: "Upload vulnerabilities report as an artefact"
4949
if: ${{ !env.ACT }}
50-
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
50+
uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6
5151
with:
5252
name: vulnerabilities-repository-report.json.zip
5353
path: ./vulnerabilities-repository-report.json.zip
@@ -58,7 +58,7 @@ runs:
5858
run: echo "secrets_exist=${{ inputs.idp_aws_report_upload_role_name != '' && inputs.idp_aws_report_upload_bucket_endpoint != '' }}" >> $GITHUB_OUTPUT
5959
- name: "Authenticate to send the reports"
6060
if: steps.check.outputs.secrets_exist == 'true'
61-
uses: aws-actions/configure-aws-credentials@7474bc4690e29a8392af63c5b98e7449536d5c3a # v4
61+
uses: aws-actions/configure-aws-credentials@ec61189d14ec14c8efccab744f656cffd0e33f37 # v6
6262
with:
6363
role-to-assume: arn:aws:iam::${{ inputs.idp_aws_report_upload_account_id }}:role/${{ inputs.idp_aws_report_upload_role_name }}
6464
aws-region: ${{ inputs.idp_aws_report_upload_region }}

.github/actions/sync-template-repo/action.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ runs:
88
using: "composite"
99
steps:
1010
- name: "Check out template repository"
11-
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
11+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
1212
with:
1313
repository: NHSDigital/nhs-notify-repository-template
1414
path: nhs-notify-repository-template

.github/workflows/cicd-1-pull-request.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
does_pull_request_exist: ${{ steps.pr_exists.outputs.does_pull_request_exist }}
3030
steps:
3131
- name: "Checkout code"
32-
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
32+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
3333
- name: "Set CI/CD variables"
3434
id: variables
3535
run: |

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
# tag: ${{ steps.variables.outputs.tag }}
3838
steps:
3939
- name: "Checkout code"
40-
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
40+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
4141
- name: "Set CI/CD variables"
4242
id: variables
4343
run: |
@@ -70,7 +70,7 @@ jobs:
7070
needs: metadata
7171
steps:
7272
- name: "Checkout code"
73-
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
73+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
7474
- name: "Get version"
7575
id: get-asset-version
7676
shell: bash
@@ -102,7 +102,7 @@ jobs:
102102
run: |
103103
gh release download ${{steps.get-asset-version.outputs.release_version}} -p jekyll-docs-*.tar --output artifact.tar
104104
105-
- uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
105+
- uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6
106106
with:
107107
name: jekyll-docs-${{steps.get-asset-version.outputs.release_version}}
108108
path: artifact.tar

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616

1717
steps:
1818
- name: Check out the repository
19-
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
19+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
2020
- name: Sync repository template
2121
uses: ./.github/actions/sync-template-repo
2222
with:

.github/workflows/scorecard.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ jobs:
5959
# Upload the results as artifacts (optional). Commenting out will disable uploads of run results in SARIF
6060
# format to the repository Actions tab.
6161
- name: "Upload artifact"
62-
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
62+
uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6
6363
with:
6464
name: SARIF file
6565
path: results.sarif

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

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939
timeout-minutes: 2
4040
steps:
4141
- name: "Checkout code"
42-
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
42+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
4343
with:
4444
fetch-depth: 0 # Full history is needed to scan all commits
4545
- name: "Scan secrets"
@@ -50,7 +50,7 @@ jobs:
5050
timeout-minutes: 2
5151
steps:
5252
- name: "Checkout code"
53-
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
53+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
5454
with:
5555
fetch-depth: 0 # Full history is needed to compare branches
5656
- name: "Check file format"
@@ -61,7 +61,7 @@ jobs:
6161
timeout-minutes: 2
6262
steps:
6363
- name: "Checkout code"
64-
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
64+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
6565
with:
6666
fetch-depth: 0 # Full history is needed to compare branches
6767
- name: "Check Markdown format"
@@ -75,7 +75,7 @@ jobs:
7575
contents: write
7676
steps:
7777
- name: "Checkout code"
78-
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
78+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
7979
with:
8080
fetch-depth: 0 # Full history is needed to compare branches
8181
- name: "Check to see if Terraform Docs are up-to-date"
@@ -96,7 +96,7 @@ jobs:
9696
timeout-minutes: 2
9797
steps:
9898
- name: "Checkout code"
99-
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
99+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
100100
with:
101101
fetch-depth: 0 # Full history is needed to compare branches
102102
- name: "Check English usage"
@@ -107,7 +107,7 @@ jobs:
107107
timeout-minutes: 5
108108
steps:
109109
- name: "Checkout code"
110-
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
110+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
111111
with:
112112
fetch-depth: 0 # Full history is needed to compare branches
113113
- name: "Check TODO usage"
@@ -119,7 +119,7 @@ jobs:
119119
terraform_changed: ${{ steps.check.outputs.terraform_changed }}
120120
steps:
121121
- name: "Checkout code"
122-
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
122+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
123123
- name: "Check for Terraform changes"
124124
id: check
125125
run: |
@@ -142,7 +142,7 @@ jobs:
142142
if: needs.detect-terraform-changes.outputs.terraform_changed == 'true'
143143
steps:
144144
- name: "Checkout code"
145-
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
145+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
146146
- name: "Setup ASDF"
147147
uses: asdf-vm/actions/setup@b7bcd026f18772e44fe1026d729e1611cc435d47 # v4
148148
- name: "Lint Terraform"
@@ -155,7 +155,7 @@ jobs:
155155
if: needs.detect-terraform-changes.outputs.terraform_changed == 'true'
156156
steps:
157157
- name: "Checkout code"
158-
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
158+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
159159
- name: "Setup ASDF"
160160
uses: asdf-vm/actions/setup@b7bcd026f18772e44fe1026d729e1611cc435d47 # v4
161161
- name: "Perform Setup"
@@ -171,7 +171,7 @@ jobs:
171171
timeout-minutes: 2
172172
steps:
173173
- name: "Checkout code"
174-
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
174+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
175175
- name: "Count lines of code"
176176
uses: ./.github/actions/create-lines-of-code-report
177177
with:
@@ -190,7 +190,7 @@ jobs:
190190
timeout-minutes: 2
191191
steps:
192192
- name: "Checkout code"
193-
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
193+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
194194
- name: "Scan dependencies"
195195
uses: ./.github/actions/scan-dependencies
196196
with:

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939
timeout-minutes: 5
4040
steps:
4141
- name: "Checkout code"
42-
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
42+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
4343
- name: "Run unit test suite"
4444
run: |
4545
make test-unit
@@ -52,7 +52,7 @@ jobs:
5252
timeout-minutes: 5
5353
steps:
5454
- name: "Checkout code"
55-
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
55+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
5656
- name: "Run linting"
5757
run: |
5858
make test-lint
@@ -66,7 +66,7 @@ jobs:
6666
timeout-minutes: 5
6767
steps:
6868
- name: "Checkout code"
69-
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
69+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
7070
- name: "Run test coverage check"
7171
run: |
7272
make test-coverage
@@ -83,7 +83,7 @@ jobs:
8383
timeout-minutes: 5
8484
steps:
8585
- name: "Checkout code"
86-
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
86+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
8787
with:
8888
fetch-depth: 0 # Full history is needed to improving relevancy of reporting
8989
- name: "Perform static analysis"

0 commit comments

Comments
 (0)