Skip to content
Merged
2 changes: 1 addition & 1 deletion .github/workflows/automated-pr-validator.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v5
uses: actions/checkout@v6

- name: Set up Python 3.11
uses: actions/setup-python@v6
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/automated-sbom-repo-scan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
name: SBOM Repo Scan
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- uses: actions/checkout@v6
with:
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/base-cypress-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v5
uses: actions/checkout@v6
with:
repository: 'NHSDigital/national-document-repository'
ref: ${{ github.event.inputs.build_branch }}
Expand Down Expand Up @@ -52,7 +52,7 @@ jobs:
working-directory: ./app

- name: Save build folder
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v5
with:
name: build
if-no-files-found: error
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/base-cypress-smoketest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,13 +35,13 @@ jobs:
environment: ${{ inputs.environment }}
steps:
- name: Checkout
uses: actions/checkout@v5
uses: actions/checkout@v6
with:
repository: "NHSDigital/national-document-repository"
ref: ${{ inputs.build_branch}}

- name: AWS Role
uses: aws-actions/configure-aws-credentials@v4
uses: aws-actions/configure-aws-credentials@v5
with:
role-to-assume: ${{ secrets.AWS_ASSUME_ROLE }}
role-skip-session-tagging: true
Expand Down Expand Up @@ -70,13 +70,13 @@ jobs:
CYPRESS_KEY: ${{ secrets.CYPRESS_KEY }}
CYPRESS_OUTPUT_VIDEO: true

- uses: actions/upload-artifact@v4
- uses: actions/upload-artifact@v5
if: failure()
with:
name: cypress-screenshots
path: /home/runner/work/national-document-repository/national-document-repository/app/cypress/screenshots
if-no-files-found: ignore
- uses: actions/upload-artifact@v4
- uses: actions/upload-artifact@v5
if: failure()
with:
name: cypress-videos
Expand All @@ -89,13 +89,13 @@ jobs:
environment: ${{ inputs.environment }}
steps:
- name: Checkout
uses: actions/checkout@v5
uses: actions/checkout@v6
with:
repository: "NHSDigital/national-document-repository"
ref: ${{ inputs.build_branch}}

- name: AWS Role
uses: aws-actions/configure-aws-credentials@v4
uses: aws-actions/configure-aws-credentials@v5
with:
role-to-assume: ${{ secrets.AWS_ASSUME_ROLE }}
role-skip-session-tagging: true
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/base-cypress-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,13 +37,13 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v5
uses: actions/checkout@v6
with:
repository: 'NHSDigital/national-document-repository'
ref: ${{ inputs.build_branch }}

- name: Download the build folder
uses: actions/download-artifact@v5
uses: actions/download-artifact@v6
with:
name: build
path: ./app/build
Expand All @@ -68,13 +68,13 @@ jobs:
CYPRESS_BASE_URL: ${{ inputs.cypress_base_url }}
CYPRESS_grepTags: 'regression'

- uses: actions/upload-artifact@v4
- uses: actions/upload-artifact@v5
if: failure()
with:
name: cypress-screenshots-${{ inputs.cypress_browser}}
path: /home/runner/work/national-document-repository/national-document-repository/app/cypress/screenshots
if-no-files-found: ignore
- uses: actions/upload-artifact@v4
- uses: actions/upload-artifact@v5
if: failure()
with:
name: cypress-videos-${{ inputs.cypress_browser}}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/base-data-collection.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,14 +30,14 @@ jobs:
working-directory: lambdas

steps:
- uses: actions/checkout@v5
- uses: actions/checkout@v6
with:
repository: 'NHSDigital/national-document-repository'
ref: ${{ inputs.build_branch }}
fetch-depth: '0'

- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@v4
uses: aws-actions/configure-aws-credentials@v5
with:
role-to-assume: ${{ secrets.AWS_ASSUME_ROLE }}
role-skip-session-tagging: true
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/base-deploy-ui.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,14 +35,14 @@ jobs:
working-directory: app

steps:
- uses: actions/checkout@v5
- uses: actions/checkout@v6
with:
repository: 'NHSDigital/national-document-repository'
ref: ${{ inputs.build_branch }}
fetch-depth: '0'

- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@v4
uses: aws-actions/configure-aws-credentials@v5
with:
role-to-assume: ${{ secrets.AWS_ASSUME_ROLE }}
role-skip-session-tagging: true
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/base-e2e-backendtest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,21 +31,21 @@ jobs:
environment: ${{ inputs.environment }}
steps:
- name: Checkout
uses: actions/checkout@v5
uses: actions/checkout@v6
with:
repository: "NHSDigital/national-document-repository"
ref: ${{ inputs.build_branch }}

- name: AWS Role
uses: aws-actions/configure-aws-credentials@v4
uses: aws-actions/configure-aws-credentials@v5
with:
role-to-assume: ${{ secrets.AWS_ASSUME_ROLE }}
role-skip-session-tagging: true
mask-aws-account-id: true
aws-region: ${{ vars.AWS_REGION }}

- name: Set up Python 3.11
uses: actions/setup-python@v5
uses: actions/setup-python@v6
with:
python-version: 3.11

Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/base-e2e-fhir-backendtest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,21 +34,21 @@ jobs:
sandbox: ${{ inputs.sandbox }}
steps:
- name: Checkout
uses: actions/checkout@v5
uses: actions/checkout@v6
with:
repository: "NHSDigital/national-document-repository"
ref: ${{ inputs.build_branch }}

- name: AWS Role
uses: aws-actions/configure-aws-credentials@v4
uses: aws-actions/configure-aws-credentials@v5
with:
role-to-assume: ${{ secrets.AWS_ASSUME_ROLE }}
role-skip-session-tagging: true
mask-aws-account-id: true
aws-region: ${{ vars.AWS_REGION }}

- name: Set up Python 3.11
uses: actions/setup-python@v5
uses: actions/setup-python@v6
with:
python-version: 3.11

Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/base-lambda-layer-reusable-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,14 +45,14 @@ jobs:
echo Lambda Layer Name: ${{ inputs.lambda_layer_name }}

- name: Checkout
uses: actions/checkout@v5
uses: actions/checkout@v6
with:
repository: 'NHSDigital/national-document-repository'
ref: ${{ inputs.build_branch }}
fetch-depth: '0'

- name: Set up Python ${{ inputs.python_version }}
uses: actions/setup-python@v5
uses: actions/setup-python@v6
with:
python-version: ${{ inputs.python_version }}

Expand All @@ -61,7 +61,7 @@ jobs:
make github_env

- name: Configure AWS Credentials for ${{ vars.AWS_REGION }}
uses: aws-actions/configure-aws-credentials@v4
uses: aws-actions/configure-aws-credentials@v5
with:
role-to-assume: ${{ secrets.AWS_ASSUME_ROLE }}
role-skip-session-tagging: true
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/base-lambdas-check-packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,13 +38,13 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v5
uses: actions/checkout@v6
with:
repository: 'NHSDigital/national-document-repository'
ref: ${{ inputs.build_branch }}

- name: Set up Python ${{ inputs.python_version }}
uses: actions/setup-python@v5
uses: actions/setup-python@v6
with:
python-version: ${{ inputs.python_version }}

Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/base-lambdas-edge-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,22 +49,22 @@ jobs:
echo Lambda AWS function: ${{ inputs.lambda_aws_name }}

- name: Checkout
uses: actions/checkout@v5
uses: actions/checkout@v6
with:
repository: 'NHSDigital/national-document-repository'
ref: ${{ inputs.build_branch }}
fetch-depth: '0'

- name: Set up Python ${{ inputs.python_version }}
uses: actions/setup-python@v5
uses: actions/setup-python@v6
with:
python-version: ${{ inputs.python_version }}

- name: Make virtual environment
run: make edge_env

- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@v4
uses: aws-actions/configure-aws-credentials@v5
with:
role-to-assume: ${{ secrets.AWS_ASSUME_ROLE }}
role-skip-session-tagging: true
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/base-lambdas-reusable-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,14 +57,14 @@ jobs:
echo Lambda Layers Names: ${{ inputs.lambda_layer_names }}

- name: Checkout
uses: actions/checkout@v5
uses: actions/checkout@v6
with:
repository: 'NHSDigital/national-document-repository'
ref: ${{ inputs.build_branch }}
fetch-depth: '0'

- name: Set up Python ${{ inputs.python_version }}
uses: actions/setup-python@v5
uses: actions/setup-python@v6
with:
python-version: ${{ inputs.python_version }}

Expand All @@ -73,7 +73,7 @@ jobs:
make github_env

- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@v4
uses: aws-actions/configure-aws-credentials@v5
with:
role-to-assume: ${{ secrets.AWS_ASSUME_ROLE }}
role-skip-session-tagging: true
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/base-lambdas-reusable-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,13 +33,13 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v5
uses: actions/checkout@v6
with:
repository: 'NHSDigital/national-document-repository'
ref: ${{ inputs.build_branch }}

- name: Set up Python ${{ inputs.python_version }}
uses: actions/setup-python@v5
uses: actions/setup-python@v6
with:
python-version: ${{ inputs.python_version }}

Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/base-run-bulk-upload.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,18 +43,18 @@ jobs:
environment: ${{ inputs.environment }}
steps:
- name: Configure AWS Credentials for ${{ vars.AWS_REGION }}
uses: aws-actions/configure-aws-credentials@v4
uses: aws-actions/configure-aws-credentials@v5
with:
role-to-assume: ${{ secrets.AWS_ASSUME_ROLE }}
role-skip-session-tagging: true
aws-region: ${{ vars.AWS_REGION }}
mask-aws-account-id: true

- name: Checkout repository
uses: actions/checkout@v5
uses: actions/checkout@v6

- name: Set up Python
uses: actions/setup-python@v5
uses: actions/setup-python@v6
with:
python-version: "3.11"

Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/base-run-disable-pds-stub.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,18 +33,18 @@ jobs:
environment: ${{ inputs.environment }}
steps:
- name: Configure AWS Credentials for ${{ vars.AWS_REGION }}
uses: aws-actions/configure-aws-credentials@v4
uses: aws-actions/configure-aws-credentials@v5
with:
role-to-assume: ${{ secrets.AWS_ASSUME_ROLE }}
role-skip-session-tagging: true
aws-region: ${{ vars.AWS_REGION }}
mask-aws-account-id: true

- name: Checkout repository
uses: actions/checkout@v5
uses: actions/checkout@v6

- name: Set up Python
uses: actions/setup-python@v5
uses: actions/setup-python@v6
with:
python-version: "3.11"

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/base-vitest-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
node-version: [24.x]

steps:
- uses: actions/checkout@v5
- uses: actions/checkout@v6
with:
repository: 'NHSDigital/national-document-repository'
ref: ${{ github.event.inputs.build_branch }}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/bulk-upload-300-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,21 +31,21 @@ jobs:
environment: ${{ inputs.environment }}
steps:
- name: Checkout
uses: actions/checkout@v5
uses: actions/checkout@v6
with:
repository: "NHSDigital/national-document-repository"
ref: ${{ inputs.build_branch }}

- name: AWS Role
uses: aws-actions/configure-aws-credentials@v4
uses: aws-actions/configure-aws-credentials@v5
with:
role-to-assume: ${{ secrets.AWS_ASSUME_ROLE }}
role-skip-session-tagging: true
mask-aws-account-id: true
aws-region: ${{ vars.AWS_REGION }}

- name: Set up Python 3.11
uses: actions/setup-python@v5
uses: actions/setup-python@v6
with:
python-version: 3.11

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v5
uses: actions/checkout@v6

- name: Initialize CodeQL
uses: github/codeql-action/init@v3
Expand Down
Loading
Loading