Skip to content

Commit 417d472

Browse files
authored
[PRM-453] Upgrades actions/checkout to v5 (#392)
1 parent 1279ca3 commit 417d472

16 files changed

+20
-19
lines changed

.github/workflows/cleanup-appconfig-and-lambda-layer-versions.yml

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

4949
steps:
5050
- name: Checkout
51-
uses: actions/checkout@v4
51+
uses: actions/checkout@v5
5252
with:
5353
repository: 'nhsconnect/national-document-repository-infrastructure'
5454
ref: ${{ inputs.build_branch }}

.github/workflows/cleanup-cloudfront-edge-associations.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ jobs:
4646
echo Lambda Function Name: ${{ inputs.lambda_function_name }}
4747
4848
- name: Checkout
49-
uses: actions/checkout@v4
49+
uses: actions/checkout@v5
5050
with:
5151
repository: 'nhsconnect/national-document-repository-infrastructure'
5252
ref: ${{ inputs.build_branch }}

.github/workflows/git-rename-tag.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
steps:
2626

2727
- name: Checkout
28-
uses: actions/checkout@v4
28+
uses: actions/checkout@v5
2929
with:
3030
ref: ${{ github.event.inputs.old_tag }}
3131
fetch-depth: 0

.github/workflows/sonarcloud-analysis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
name: SonarQube
1515
runs-on: ubuntu-latest
1616
steps:
17-
- uses: actions/checkout@v4
17+
- uses: actions/checkout@v5
1818
with:
1919
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
2020
- name: SonarQube Scan

.github/workflows/terraform-daily-healthcheck-deploy-and-destroy.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
needs: ['set_workspace']
2626
steps:
2727
- name: Checkout
28-
uses: actions/checkout@v4
28+
uses: actions/checkout@v5
2929
with:
3030
ref: main
3131

@@ -90,7 +90,7 @@ jobs:
9090
runs-on: ubuntu-22.04
9191
steps:
9292
- name: Checkout
93-
uses: actions/checkout@v4
93+
uses: actions/checkout@v5
9494
with:
9595
repository: nhsconnect/national-document-repository
9696

.github/workflows/terraform-deploy-feature-to-sandbox.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,9 @@ jobs:
2929
environment: ${{ github.event.inputs.environment }}
3030

3131
steps:
32+
# Checkout the repository to the GitHub Actions runner
3233
- name: Checkout Base
33-
uses: actions/checkout@v4
34+
uses: actions/checkout@v5
3435
with:
3536
ref: main
3637

@@ -76,7 +77,7 @@ jobs:
7677
working-directory: ./infrastructure
7778

7879
- name: Checkout Branch
79-
uses: actions/checkout@v4
80+
uses: actions/checkout@v5
8081
with:
8182
ref: ${{ github.event.inputs.buildBranch}}
8283

.github/workflows/terraform-deploy-to-perf-manual.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
steps:
2323
# Checkout the repository to the GitHub Actions runner
2424
- name: Checkout
25-
uses: actions/checkout@v4
25+
uses: actions/checkout@v5
2626
with:
2727
ref: ${{ github.event.inputs.buildBranch}}
2828
fetch-depth: '0'

.github/workflows/terraform-deploy-to-pre-prod-manual.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
steps:
2525
- name: Checkout main
2626
if: ${{ github.event.inputs.branch_or_tag == 'main' }}
27-
uses: actions/checkout@v4
27+
uses: actions/checkout@v5
2828
with:
2929
ref: main
3030
fetch-depth: '0'
@@ -49,7 +49,7 @@ jobs:
4949

5050
steps:
5151
- name: Checkout
52-
uses: actions/checkout@v4
52+
uses: actions/checkout@v5
5353
with:
5454
ref: ${{needs.tag_and_release.outputs.version}}
5555
fetch-depth: '0'

.github/workflows/terraform-deploy-to-prod-manual.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
steps:
2323
# Checkout the repository to the GitHub Actions runner
2424
- name: Checkout
25-
uses: actions/checkout@v4
25+
uses: actions/checkout@v5
2626
with:
2727
ref: ${{ github.event.inputs.tagVersion}}
2828
fetch-depth: '0'

.github/workflows/terraform-deploy-to-test-manual.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
steps:
2323
# Checkout the repository to the GitHub Actions runner
2424
- name: Checkout
25-
uses: actions/checkout@v4
25+
uses: actions/checkout@v5
2626
with:
2727
ref: ${{ github.event.inputs.build_branch}}
2828

0 commit comments

Comments
 (0)