diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md index b2b2ba2a73..15d5b095e9 100644 --- a/.github/PULL_REQUEST_TEMPLATE.md +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -1,5 +1,19 @@ + + ### What is the context of this PR? + Describe what you have changed and why, link to other PRs or Issues as appropriate. -### How to review +### How to review this PR + Describe the steps required to test the changes (include screenshots if appropriate). + +### Checklist + +This needs to be completed by the person raising the PR. + + + +- [ ] I have selected the correct Project for this PR (Design System) and selected the correct status +- [ ] I have selected the correct Assignee +- [ ] I have linked the correct Issue diff --git a/.github/release.yml b/.github/release.yml index 6e2f1f4ba6..5f2dbc990d 100644 --- a/.github/release.yml +++ b/.github/release.yml @@ -7,6 +7,9 @@ changelog: labels: - Component - Pattern + - title: Accessibility improvements + labels: + - Accessibility - title: Enhancements labels: - Enhancement @@ -16,6 +19,9 @@ changelog: - title: Documentation labels: - Documentation + - title: Dependency updates + labels: + - Dependencies - title: Other changes labels: - "*" diff --git a/.github/workflows/check-checklist.yml b/.github/workflows/check-checklist.yml new file mode 100644 index 0000000000..60a62e7333 --- /dev/null +++ b/.github/workflows/check-checklist.yml @@ -0,0 +1,17 @@ +name: Checklist Checker +on: + pull_request: + types: + - opened + - edited + - synchronize + - reopened + +jobs: + check-tasks: + name: Check tasks + runs-on: ubuntu-latest + steps: + - uses: mheap/require-checklist-action@v2 + with: + requireChecklist: false diff --git a/.github/workflows/check-labels.yml b/.github/workflows/check-labels.yml new file mode 100644 index 0000000000..eaa7ba5fa3 --- /dev/null +++ b/.github/workflows/check-labels.yml @@ -0,0 +1,22 @@ +name: Label Checker +on: + pull_request: + types: + - opened + - synchronize + - reopened + - labeled + - unlabeled + +jobs: + check-labels: + name: Check labels + runs-on: ubuntu-latest + permissions: + pull-requests: read + steps: + - uses: docker://onsdigital/github-pr-label-checker:v1.2.7 + with: + one_of: Breaking changes,Accessibility,Bug,Documentation,Dependencies,Enhancement,Example + none_of: Awaiting resource,Do not merge,Duplicate,Needs validating,Not doing + repo_token: ${{ secrets.GITHUB_TOKEN }}