Skip to content
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* @NHSDigital/patient-record-management @NHSDigital/national-document-repository @NHSDigital/access-store
4 changes: 2 additions & 2 deletions .github/workflows/automated-deploy-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -216,14 +216,14 @@ jobs:
name: Deploy Lambdas on NDR Functional Repo
needs: ['terraform_process']
if: github.ref == 'refs/heads/main'
uses: nhsconnect/national-document-repository/.github/workflows/lambdas-dev-to-main-ci.yml@main
uses: NHSDigital/national-document-repository/.github/workflows/lambdas-dev-to-main-ci.yml@main
secrets:
AWS_ASSUME_ROLE: ${{ secrets.AWS_ASSUME_ROLE }}

run_main_repo_deploy_ui:
name: Deploy UI on NDR Functional Repo
needs: ['terraform_process']
if: github.ref == 'refs/heads/main'
uses: nhsconnect/national-document-repository/.github/workflows/ui-dev-to-main-ci.yml@main
uses: NHSDigital/national-document-repository/.github/workflows/ui-dev-to-main-ci.yml@main
secrets:
AWS_ASSUME_ROLE: ${{ secrets.AWS_ASSUME_ROLE }}
2 changes: 1 addition & 1 deletion .github/workflows/base-cleanup-lambda-edge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
- name: Checkout
uses: actions/checkout@v5
with:
repository: 'nhsconnect/national-document-repository-infrastructure'
repository: 'NHSDigital/national-document-repository-infrastructure'
ref: ${{ inputs.git_ref }}
fetch-depth: '0'

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/base-cleanup-workspace.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ jobs:
- name: Checkout
uses: actions/checkout@v5
with:
repository: 'nhsconnect/national-document-repository-infrastructure'
repository: 'NHSDigital/national-document-repository-infrastructure'
ref: ${{ inputs.git_ref }}
fetch-depth: '0'

Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/cron-daily-health-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,14 +75,14 @@ jobs:

lambda_test_job:
name: Run Lambda Unit Tests
uses: nhsconnect/national-document-repository/.github/workflows/base-lambdas-reusable-test.yml@main
uses: NHSDigital/national-document-repository/.github/workflows/base-lambdas-reusable-test.yml@main
with:
python_version: "3.11"
build_branch: main

react_testing_job:
name: Run UI Unit Tests
uses: nhsconnect/national-document-repository/.github/workflows/base-vitest-test.yml@main
uses: NHSDigital/national-document-repository/.github/workflows/base-vitest-test.yml@main
with:
build_branch: main

Expand All @@ -92,7 +92,7 @@ jobs:
- name: Checkout
uses: actions/checkout@v5
with:
repository: nhsconnect/national-document-repository
repository: NHSDigital/national-document-repository

- name: Cypress install
run: npm install --legacy-peer-deps
Expand Down Expand Up @@ -150,7 +150,7 @@ jobs:
publish_all_lambda_layers:
name: Publish all Lambda Layers
needs: ['set_workspace', 'terraform_process']
uses: nhsconnect/national-document-repository/.github/workflows/base-lambda-layer-reusable-publish-all.yml@main
uses: NHSDigital/national-document-repository/.github/workflows/base-lambda-layer-reusable-publish-all.yml@main
with:
build_branch: main
sandbox: ${{ needs.set_workspace.outputs.workspace }}
Expand All @@ -161,7 +161,7 @@ jobs:

deploy_all_lambdas:
name: Deploy all Lambdas
uses: nhsconnect/national-document-repository/.github/workflows/base-lambdas-reusable-deploy-all.yml@main
uses: NHSDigital/national-document-repository/.github/workflows/base-lambdas-reusable-deploy-all.yml@main
needs: ['set_workspace', 'publish_all_lambda_layers']
with:
build_branch: main
Expand All @@ -174,7 +174,7 @@ jobs:

deploy_ui:
name: Deploy UI
uses: nhsconnect/national-document-repository/.github/workflows/base-deploy-ui.yml@main
uses: NHSDigital/national-document-repository/.github/workflows/base-deploy-ui.yml@main
needs: ['terraform_process', 'set_workspace']
with:
build_branch: main
Expand Down
23 changes: 23 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# Welcome to the National Document Repository contributors guide

Thank you for your interest in improving the codebase that powers the National Document Repository.

In this guide you will get an overview of the contribution workflow from creating a PR, reviewing, and merging the PR.

To raise an issue, please contact one of the [CODEOWNERS](.github/CODEOWNERS) directly, or raise a PR.

If you're new to GitHub and/or Markdown, GitHub's own [contributor's guide](https://github.com/github/docs/blob/main/.github/CONTRIBUTING.md) provides good signposting on these topics.

## Pull requests and merging

You can't push to the main branch. Therefore, for all changes you will need to create a new branch, and then a pull request to merge said branch into `main`. The [CODEOWNERS](.github/CODEOWNERS) will be nominated as reviewers of your PR by default, but feel free to add other people as well if you think they will have valuable input.

## Contributing guidelines and etiquette

- Preview your Markdown code to make sure the format is not broken.
- Check grammar, spelling and punctuation - no-one wants to look pedantic by requesting changes due to typos or inconsistent grammar/syntax, but it's only fair to keep this tidy.
- The codebase is open to the world. This has a few implications:
- Nothing in it should be confidential, private to NHSE or include any personal data.
- All links should be public.
- Consider comments and README.md text: comments in open source repos such as this are not official communications and don't go through the normal approval process for public communication. They can however still be interpreted as official communication, even if not intended as such.
- Use [inclusive language](https://github.com/NHSDigital/software-engineering-quality-framework/blob/main/inclusive-language.md): avoid terms which cause hurt and offence, including if they have historically been considered industry-standard terms.
2 changes: 1 addition & 1 deletion scripts/cleanup_sandboxes.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@


def trigger_delete_workflow(token: str, sandbox: str):
owner = "nhsconnect"
owner = "NHSDigital"
repo = "national-document-repository-infrastructure"
workflow = "tear-down-sandbox.yml"

Expand Down
2 changes: 1 addition & 1 deletion sonar-project.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
sonar.projectKey=prm-repository_infrastructure
sonar.organization=prm-repository
sonar.organization=nhsdigital

# This is the name and version displayed in the SonarCloud UI.
sonar.projectName=Repository-Infrastructure
Expand Down
Loading