Skip to content

CCM-17346: Add Shared Modules#111

Merged
damientobin1 merged 20 commits into
mainfrom
feature/CCM-17346_moved_to_shared_modules
May 13, 2026
Merged

CCM-17346: Add Shared Modules#111
damientobin1 merged 20 commits into
mainfrom
feature/CCM-17346_moved_to_shared_modules

Conversation

@damientobin1
Copy link
Copy Markdown

@damientobin1 damientobin1 commented May 6, 2026

Description

Drop repo included github composite actions
Update workflows to use shared-modules composite actions
Drop repo included githook scripts
Update precommit-hooks to use tagged hooks from shared-modules repo

@damientobin1 damientobin1 requested review from a team as code owners May 6, 2026 17:16
@damientobin1 damientobin1 marked this pull request as draft May 6, 2026 21:10
@damientobin1 damientobin1 requested review from Copilot May 6, 2026 21:18
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Migrates this repository away from in-repo composite actions and bespoke git-hook scripts toward the NHSDigital/nhs-notify-shared-modules shared composite actions and pre-commit hooks, with accompanying documentation/workflow updates.

Changes:

  • Switch pre-commit to consume hook implementations from nhs-notify-shared-modules and update local scripts accordingly.
  • Update CI workflows to use shared composite actions and add a PR title format check workflow.
  • Update user/developer documentation to reflect the shared-modules-based approach.

Reviewed changes

Copilot reviewed 28 out of 28 changed files in this pull request and generated 28 comments.

Show a summary per file
File Description
scripts/tests/style.sh Replaces direct hook script calls with pre-commit invocation for english-usage checks.
scripts/config/pre-commit.yaml Points hook sources at NHSDigital/nhs-notify-shared-modules and passes hook args.
scripts/config/check-todos-ignore.conf Adds ignore configuration for TODO scanning.
docs/user-guides/Scan_secrets.md Updates instructions/links for shared action + pre-commit usage.
docs/user-guides/Scan_dependencies.md Updates action reference to shared action.
docs/user-guides/Run_Git_hooks_on_commit.md Updates narrative to describe pre-commit + shared hooks.
docs/user-guides/Perform_static_analysis.md Updates action reference to shared action.
docs/developer-guides/Scripting_Terraform.md Updates Terraform CI hook/action references to shared modules.
.github/workflows/stage-1-commit.yaml Swaps in shared composite actions for commit-stage checks.
.github/workflows/stage-2-test.yaml Simplifies test-stage workflow and uses shared static analysis action.
.github/workflows/cicd-4-pr-title-check.yaml Adds PR title format validation using shared action.
.github/workflows/scheduled-repository-template-sync.yaml Updates path used to run the template sync script.
.github/workflows/manual-combine-dependabot-prs.yaml Updates generated PR title/body header strings.
.github/dependabot.yaml Adjusts dependabot configuration (prefix/cooldown/ecosystem).
.gitattributes Removes linguist-vendored marking for scripts/githooks/**.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread scripts/tests/style.sh Outdated
Comment thread docs/user-guides/Scan_secrets.md Outdated
Comment thread docs/user-guides/Scan_secrets.md Outdated
Comment thread docs/user-guides/Scan_dependencies.md Outdated
Comment thread docs/user-guides/Scan_dependencies.md Outdated
Comment thread .github/workflows/stage-1-commit.yaml Outdated
Comment thread .github/workflows/stage-1-commit.yaml Outdated
Comment thread .github/workflows/stage-1-commit.yaml Outdated
Comment thread .github/workflows/stage-1-commit.yaml Outdated
Comment thread .gitattributes
@damientobin1 damientobin1 marked this pull request as ready for review May 12, 2026 12:20
@damientobin1 damientobin1 merged commit 557e115 into main May 13, 2026
46 of 47 checks passed
@damientobin1 damientobin1 deleted the feature/CCM-17346_moved_to_shared_modules branch May 13, 2026 09:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants