Skip to content

Commit e3e5ce4

Browse files
committed
CCM-18143: Updating_Github_Actions_Validation
1 parent 1aece73 commit e3e5ce4

18 files changed

Lines changed: 92 additions & 92 deletions

File tree

.github/actions/acceptance-tests-component/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ runs:
2525
GITHUB_TOKEN: ${{ env.GITHUB_TOKEN }}
2626

2727
- name: Fetch terraform output
28-
uses: actions/download-artifact@37930b1c2abaa49bbe596cd826c3c89aef350131 # v7
28+
uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
2929
with:
3030
name: terraform-output-${{ inputs.targetComponent }}
3131

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

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ runs:
1111
using: "composite"
1212
steps:
1313
- name: Checkout
14-
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
15-
- uses: actions/setup-node@a0853c24544627f65ddf259abe73b1d18a591444 # v5
14+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
15+
- uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
1616
with:
1717
node-version: 22
1818
registry-url: 'https://npm.pkg.github.com'
@@ -23,15 +23,15 @@ runs:
2323
run: npm ci
2424
shell: bash
2525
- name: Setup Ruby
26-
uses: ruby/setup-ruby@4eb9f110bac952a8b68ecf92e3b5c7a987594ba6 # v1.292.0
26+
uses: ruby/setup-ruby@7372622e62b60b3cb750dcd2b9e32c247ffec26a # v1.302.0
2727
with:
2828
ruby-version: "3.2" # Not needed with a .ruby-version file
2929
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
3030
cache-version: 0 # Increment this number if you need to re-download cached gems
3131
working-directory: "./docs"
3232
- name: Setup Pages
3333
id: pages
34-
uses: actions/configure-pages@45bfe0192ca1faeb007ade9deae92b16b8254a0d # v6
34+
uses: actions/configure-pages@45bfe0192ca1faeb007ade9deae92b16b8254a0d # v6.0.0
3535
- name: Build with Jekyll
3636
working-directory: ./docs
3737
# Outputs to the './_site' directory by default
@@ -43,7 +43,7 @@ runs:
4343

4444
- name: Upload artifact
4545
# Automatically uploads an artifact from the './_site' directory by default
46-
uses: actions/upload-pages-artifact@56afc609e74202658d3ffba0e8f6dda462b719fa # v3
46+
uses: actions/upload-pages-artifact@fc324d3547104276b827a68afc52ff2a11cc49c9 # v5.0.0
4747
with:
4848
path: "docs/_site/"
4949
name: jekyll-docs-${{ inputs.version }}

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

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ runs:
1111
using: "composite"
1212
steps:
1313
- name: Checkout
14-
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
15-
- uses: actions/setup-node@a0853c24544627f65ddf259abe73b1d18a591444 # v5
14+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
15+
- uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
1616
with:
1717
node-version: 22
1818
registry-url: 'https://npm.pkg.github.com'
@@ -31,35 +31,35 @@ runs:
3131
make build VERSION="${{ inputs.version }}"
3232
3333
- name: Upload abstractions artifact
34-
uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6
34+
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
3535
with:
3636
path: "src/server/abstractions/bin/Release"
3737
name: libs-abstractions-${{ inputs.version }}
3838
include-hidden-files: true
3939

4040
- name: Upload data artifact
41-
uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6
41+
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
4242
with:
4343
path: "src/server/data/bin/Release"
4444
name: libs-data-${{ inputs.version }}
4545
include-hidden-files: true
4646

4747
- name: Upload letter artifact
48-
uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6
48+
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
4949
with:
5050
path: "src/server/letter/bin/Release"
5151
name: libs-letter-${{ inputs.version }}
5252
include-hidden-files: true
5353

5454
- name: Upload host artifact
55-
uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6
55+
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
5656
with:
5757
path: "src/server/host/bin/Release"
5858
name: libs-host-${{ inputs.version }}
5959
include-hidden-files: true
6060

6161
- name: Set up Docker Buildx
62-
uses: docker/setup-buildx-action@4d04d5d9486b7bd6fa91e7baf45bbb4f8b9deedd # v4
62+
uses: docker/setup-buildx-action@4d04d5d9486b7bd6fa91e7baf45bbb4f8b9deedd # v4.0.0
6363
- run: mkdir -p ${{ runner.temp }}/myimage
6464
shell: bash
6565

@@ -74,7 +74,7 @@ runs:
7474
outputs: type=docker,dest=${{ runner.temp }}/myimage/myimage.tar
7575

7676
- name: Upload artifact
77-
uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6
77+
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
7878
with:
7979
name: libs-host-docker-${{ inputs.version }}
8080
path: ${{ runner.temp }}/myimage

.github/actions/build-oas-spec/action.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,14 +24,14 @@ runs:
2424

2525
steps:
2626
- name: Checkout
27-
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
28-
- uses: actions/setup-node@a0853c24544627f65ddf259abe73b1d18a591444 # v5
27+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
28+
- uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
2929
with:
3030
node-version: ${{ inputs.nodejs_version }}
3131
registry-url: 'https://npm.pkg.github.com'
3232

3333
- name: "Cache node_modules"
34-
uses: actions/cache@a7833574556fa59680c1b7cb190c1735db73ebf0 # v5.0.0
34+
uses: actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5
3535
with:
3636
path: |
3737
**/node_modules
@@ -68,7 +68,7 @@ runs:
6868
fi
6969
7070
- name: Upload API OAS specification artifact
71-
uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6
71+
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
7272
with:
7373
path: "build"
7474
name: api-oas-specification-${{ inputs.apimEnv }}${{ inputs.version != '' && format('-{0}', inputs.version) || '' }}

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ runs:
3636
steps:
3737
- name: Download OAS Spec artifact from workflow
3838
if: ${{ inputs.isRelease == 'false' }}
39-
uses: actions/download-artifact@37930b1c2abaa49bbe596cd826c3c89aef350131 # v7
39+
uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
4040
with:
4141
name: api-oas-specification-${{ inputs.apimEnv }}${{ inputs.version != '' && format('-{0}', inputs.version) || '' }}
4242
path: ./build
@@ -96,7 +96,7 @@ runs:
9696
echo "APIM_ENV=$APIM_ENV" >> $GITHUB_ENV
9797
9898
- name: Upload OAS Spec
99-
uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6
99+
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
100100
with:
101101
name: ${{ env.APIM_ENV }}-build-output
102102
path: ./build

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ runs:
1313

1414
steps:
1515
- name: Checkout
16-
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
17-
- uses: actions/setup-node@a0853c24544627f65ddf259abe73b1d18a591444 # v5
16+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
17+
- uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
1818
with:
1919
node-version: 22
2020
registry-url: 'https://npm.pkg.github.com'

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

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ runs:
1111
using: "composite"
1212
steps:
1313
- name: Checkout
14-
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
15-
- uses: actions/setup-node@a0853c24544627f65ddf259abe73b1d18a591444 # v5
14+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
15+
- uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
1616
with:
1717
node-version: 22
1818
registry-url: 'https://npm.pkg.github.com'
@@ -56,43 +56,43 @@ runs:
5656
make build VERSION="${{ inputs.version }}"
5757
5858
- name: Upload html artifact
59-
uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6
59+
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
6060
with:
6161
path: "sdk/html"
6262
name: sdk-html-${{ inputs.version }}
6363

6464
- name: Upload swagger artifact
65-
uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6
65+
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
6666
with:
6767
path: "sdk/swagger"
6868
name: sdk-swagger-${{ inputs.version }}
6969

7070
- name: Upload ts artifact
71-
uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6
71+
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
7272
with:
7373
path: "sdk/typescript"
7474
name: sdk-ts-${{ inputs.version }}
7575

7676
- name: Upload python artifact
77-
uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6
77+
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
7878
with:
7979
path: "sdk/python"
8080
name: sdk-python-${{ inputs.version }}
8181

8282
- name: Upload csharp artifact
83-
uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6
83+
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
8484
with:
8585
path: "sdk/csharp"
8686
name: sdk-csharp-${{ inputs.version }}
8787

8888
- name: Upload artifact
89-
uses: actions/upload-pages-artifact@56afc609e74202658d3ffba0e8f6dda462b719fa # v3
89+
uses: actions/upload-pages-artifact@fc324d3547104276b827a68afc52ff2a11cc49c9 # v5.0.0
9090
with:
9191
path: "sdk/html/"
9292
name: sdk-html-docs-${{ inputs.version }}
9393

9494
- name: Upload swagger pages artifact
95-
uses: actions/upload-pages-artifact@56afc609e74202658d3ffba0e8f6dda462b719fa # v3
95+
uses: actions/upload-pages-artifact@fc324d3547104276b827a68afc52ff2a11cc49c9 # v5.0.0
9696
with:
9797
path: "sdk/swagger/"
9898
name: sdk-swagger-docs-${{ inputs.version }}

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ runs:
1111
using: "composite"
1212
steps:
1313
- name: Checkout
14-
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
15-
- uses: actions/setup-node@a0853c24544627f65ddf259abe73b1d18a591444 # v5
14+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
15+
- uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
1616
with:
1717
node-version: 22
1818
registry-url: 'https://npm.pkg.github.com'
@@ -36,13 +36,13 @@ runs:
3636
make build VERSION="${{ inputs.version }}"
3737
3838
- name: Upload csharp-server artifact
39-
uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6
39+
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
4040
with:
4141
path: "server/csharp-server"
4242
name: server-csharp-${{ inputs.version }}
4343

4444
- name: Upload csharp-server docker artifact
45-
uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6
45+
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
4646
with:
4747
path: "server/Dockerfile"
4848
name: server-csharp-docker-${{ inputs.version }}

.github/actions/node-install/action.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ runs:
1010
using: 'composite'
1111
steps:
1212
- name: 'Use Node.js'
13-
uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6
13+
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
1414
with:
1515
node-version-file: '.tool-versions'
1616
registry-url: 'https://npm.pkg.github.com'

.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@v4.0.3
18+
uses: NHSDigital/nhs-notify-shared-modules/.github/actions/check-pr-title-format@v4.0.5
1919
with:
2020
title: ${{ github.event.pull_request.title }}

0 commit comments

Comments
 (0)