Skip to content
Closed
Show file tree
Hide file tree
Changes from all 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: 0 additions & 1 deletion .gitattributes
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
scripts/docker/** linguist-vendored
scripts/githooks/** linguist-vendored
scripts/reports/** linguist-vendored
scripts/terraform/** linguist-vendored
scripts/tests/test.mk linguist-vendored
Expand Down
10 changes: 0 additions & 10 deletions .github/actions/check-english-usage/action.yaml

This file was deleted.

10 changes: 0 additions & 10 deletions .github/actions/check-file-format/action.yaml

This file was deleted.

10 changes: 0 additions & 10 deletions .github/actions/check-markdown-format/action.yaml

This file was deleted.

57 changes: 0 additions & 57 deletions .github/actions/create-lines-of-code-report/action.yaml

This file was deleted.

20 changes: 0 additions & 20 deletions .github/actions/lint-terraform/action.yaml

This file was deleted.

28 changes: 0 additions & 28 deletions .github/actions/perform-static-analysis/action.yaml

This file was deleted.

74 changes: 0 additions & 74 deletions .github/actions/scan-dependencies/action.yaml

This file was deleted.

10 changes: 0 additions & 10 deletions .github/actions/scan-secrets/action.yaml

This file was deleted.

10 changes: 10 additions & 0 deletions .github/dependabot.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,23 +6,33 @@ updates:
directory: "/"
schedule:
interval: "daily"
commit-message:
prefix: "CCM-9336: "

- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "daily"
commit-message:
prefix: "CCM-9336: "

- package-ecosystem: "npm"
directory: "/"
schedule:
interval: "daily"
commit-message:
prefix: "CCM-9336: "

- package-ecosystem: "pip"
directory: "/"
schedule:
interval: "daily"
commit-message:
prefix: "CCM-9336: "

- package-ecosystem: "terraform"
directory: "/"
schedule:
interval: "daily"
commit-message:
prefix: "CCM-9336: "
20 changes: 20 additions & 0 deletions .github/workflows/cicd-4-pr-title-check.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: "4. PR Title Check"

on:
pull_request:
types: [opened, reopened, synchronize, edited]
branches:
- main

permissions:
contents: read

jobs:
check-pr-title:
name: "Check PR title"
runs-on: ubuntu-latest
steps:
- name: "Check PR title format"
uses: NHSDigital/nhs-notify-shared-modules/.github/actions/check-pr-title-format@3009a36549abae57bae8fe0119c2f3fed156a628 # 3.1.2
with:
title: ${{ github.event.pull_request.title }}
24 changes: 24 additions & 0 deletions .github/workflows/manual-combine-dependabot-prs.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Combine Dependabot PRs

on:
workflow_dispatch:

permissions:
contents: write
pull-requests: write
checks: read

jobs:
combine-prs:
runs-on: ubuntu-latest

steps:
- name: combine-prs
id: combine-prs
uses: github/combine-prs@2909f404763c3177a456e052bdb7f2e85d3a7cb3 # v5.2.0
with:
ci_required: false
labels: dependencies
pr_title: "CCM-9336: Combined Dependabot PRs"
combine_branch_name: dependabotCombined
pr_body_header: "CCM-9336: Combined Dependabot PRs"
54 changes: 54 additions & 0 deletions .github/workflows/scheduled-repository-template-sync.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
name: Repository Template Sync

on:
schedule:
- cron: '0 0 1 * *'
workflow_dispatch:

permissions:
contents: write
pull-requests: write
checks: read

jobs:
update-external-repo:
runs-on: ubuntu-latest

steps:
- name: Check out the repository
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
- name: Check out external repository
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
with:
repository: NHSDigital/nhs-notify-repository-template
path: nhs-notify-repository-template
token: ${{ github.token }}

- name: Run syncronisation script
run: |
./nhs-notify-repository-template/scripts/maintenance/sync-template-repo.sh
rm -Rf ./nhs-notify-repository-template

- name: Create Pull Request
if: ${{ !env.ACT }}
uses: peter-evans/create-pull-request@271a8d0340265f705b14b6d32b9829c1cb33d45e # v7.0.8
with:
token: ${{ secrets.GITHUB_TOKEN }}
commit-message: Drift from template
branch: scheduledTemplateRepositorySync
delete-branch: true
title: '[Template Sync] Drift from template-repository remediation'
body: |
# Resultant drift from repository template

## Who should respond to this PR?
The team which owns the responsibility for this component repository. You may want to consult other contributors.

## How to progress this PR
The repositories guardians should review the contents of the PR and decide how to proceed, you may wish to back-out certain changes or accept them from the upstream `nhsdigital/nhs-notify-repository-template` repository.

If there are changes you do not wish to see again, it is recommended you add exclusions to `scripts/config/.repository-template-sync-ignore`.
labels: |
template
automation
draft: false
Loading