Skip to content

Commit 2f0cf5a

Browse files
authored
[PRM-536] GitHub Org migration changes (#447)
1 parent dc1de03 commit 2f0cf5a

File tree

8 files changed

+38
-14
lines changed

8 files changed

+38
-14
lines changed

.github/CODEOWNERS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
* @NHSDigital/patient-record-management @NHSDigital/national-document-repository @NHSDigital/access-store

.github/workflows/automated-deploy-dev.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -209,14 +209,14 @@ jobs:
209209
name: Deploy Lambdas (ndr-dev)
210210
needs: ['terraform_plan_apply']
211211
if: github.ref == 'refs/heads/main'
212-
uses: nhsconnect/national-document-repository/.github/workflows/lambdas-dev-to-main-ci.yml@main
212+
uses: NHSDigital/national-document-repository/.github/workflows/lambdas-dev-to-main-ci.yml@main
213213
secrets:
214214
AWS_ASSUME_ROLE: ${{ secrets.AWS_ASSUME_ROLE }}
215215

216216
deploy_ui:
217217
name: Deploy UI (ndr-dev)
218218
needs: ['terraform_plan_apply']
219219
if: github.ref == 'refs/heads/main'
220-
uses: nhsconnect/national-document-repository/.github/workflows/ui-dev-to-main-ci.yml@main
220+
uses: NHSDigital/national-document-repository/.github/workflows/ui-dev-to-main-ci.yml@main
221221
secrets:
222222
AWS_ASSUME_ROLE: ${{ secrets.AWS_ASSUME_ROLE }}

.github/workflows/base-cleanup-lambda-edge.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
- name: Checkout
3434
uses: actions/checkout@v5
3535
with:
36-
repository: 'nhsconnect/national-document-repository-infrastructure'
36+
repository: 'NHSDigital/national-document-repository-infrastructure'
3737
ref: ${{ inputs.git_ref }}
3838
fetch-depth: '0'
3939

.github/workflows/base-cleanup-workspace.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
- name: Checkout
3434
uses: actions/checkout@v5
3535
with:
36-
repository: 'nhsconnect/national-document-repository-infrastructure'
36+
repository: 'NHSDigital/national-document-repository-infrastructure'
3737
ref: ${{ inputs.git_ref }}
3838
fetch-depth: '0'
3939

.github/workflows/cron-daily-health-check.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -75,14 +75,14 @@ jobs:
7575

7676
run_lambda_unit_tests:
7777
name: Run Lambda Unit Tests
78-
uses: nhsconnect/national-document-repository/.github/workflows/base-lambdas-reusable-test.yml@main
78+
uses: NHSDigital/national-document-repository/.github/workflows/base-lambdas-reusable-test.yml@main
7979
with:
8080
python_version: "3.11"
8181
build_branch: main
8282

8383
run_ui_unit_tests:
8484
name: Run UI Unit Tests
85-
uses: nhsconnect/national-document-repository/.github/workflows/base-vitest-test.yml@main
85+
uses: NHSDigital/national-document-repository/.github/workflows/base-vitest-test.yml@main
8686
with:
8787
build_branch: main
8888

@@ -93,7 +93,7 @@ jobs:
9393
- name: Checkout
9494
uses: actions/checkout@v5
9595
with:
96-
repository: nhsconnect/national-document-repository
96+
repository: NHSDigital/national-document-repository
9797

9898
- name: npm install
9999
run: npm install --legacy-peer-deps
@@ -153,7 +153,7 @@ jobs:
153153
publish_lambda_layers:
154154
name: Publish Lambda Layers
155155
needs: ['set_workspace', 'terraform_plan_apply']
156-
uses: nhsconnect/national-document-repository/.github/workflows/base-lambda-layer-reusable-publish-all.yml@main
156+
uses: NHSDigital/national-document-repository/.github/workflows/base-lambda-layer-reusable-publish-all.yml@main
157157
with:
158158
build_branch: main
159159
sandbox: ${{ needs.set_workspace.outputs.workspace }}
@@ -164,7 +164,7 @@ jobs:
164164

165165
deploy_lambdas:
166166
name: Deploy Lambdas
167-
uses: nhsconnect/national-document-repository/.github/workflows/base-lambdas-reusable-deploy-all.yml@main
167+
uses: NHSDigital/national-document-repository/.github/workflows/base-lambdas-reusable-deploy-all.yml@main
168168
needs: ['set_workspace', 'publish_lambda_layers']
169169
with:
170170
build_branch: main
@@ -177,7 +177,7 @@ jobs:
177177

178178
deploy_ui:
179179
name: Deploy UI
180-
uses: nhsconnect/national-document-repository/.github/workflows/base-deploy-ui.yml@main
180+
uses: NHSDigital/national-document-repository/.github/workflows/base-deploy-ui.yml@main
181181
needs: ['terraform_plan_apply', 'set_workspace']
182182
with:
183183
build_branch: main

CONTRIBUTING.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# Welcome to the National Document Repository contributors guide
2+
3+
Thank you for your interest in improving the codebase that powers the National Document Repository.
4+
5+
In this guide you will get an overview of the contribution workflow from creating a PR, reviewing, and merging the PR.
6+
7+
To raise an issue, please contact one of the [CODEOWNERS](.github/CODEOWNERS) directly, or raise a PR.
8+
9+
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.
10+
11+
## Pull requests and merging
12+
13+
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.
14+
15+
## Contributing guidelines and etiquette
16+
17+
- Preview your Markdown code to make sure the format is not broken.
18+
- 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.
19+
- The codebase is open to the world. This has a few implications:
20+
- Nothing in it should be confidential, private to NHSE or include any personal data.
21+
- All links should be public.
22+
- 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.
23+
- 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.

scripts/cleanup_sandboxes.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55

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

sonar-project.properties

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
sonar.projectKey=prm-repository_infrastructure
2-
sonar.organization=prm-repository
1+
sonar.projectKey=NHSDigital_national-document-repository-infrastructure
2+
sonar.organization=nhsdigital
33

44
# This is the name and version displayed in the SonarCloud UI.
55
sonar.projectName=Repository-Infrastructure
@@ -10,4 +10,4 @@ sonar.projectVersion=1.0
1010
sonar.sources=infrastructure/
1111

1212
# Encoding of the source code. Default is default system encoding
13-
#sonar.sourceEncoding=UTF-8
13+
#sonar.sourceEncoding=UTF-8

0 commit comments

Comments
 (0)