Skip to content

ci: enhance secret scanning with staged changes and complete history#92

Merged
nhs-oliverslater merged 1 commit into
mainfrom
fix/secret-scanning-staged-files
Jun 22, 2026
Merged

ci: enhance secret scanning with staged changes and complete history#92
nhs-oliverslater merged 1 commit into
mainfrom
fix/secret-scanning-staged-files

Conversation

@nhs-oliverslater

Copy link
Copy Markdown
Contributor

Description

Introduce new hooks for secret scanning that cover both staged changes and the complete git history. The scan-secrets-staged-changes hook runs automatically on git commit, while the scan-secrets-whole-history hook scans the entire history during CI/CD processes.

Context

This change enhances security by providing a two-tiered approach to secret scanning, allowing for immediate detection of secrets in staged changes and comprehensive audits of the entire commit history.

Type of changes

  • New feature (non-breaking change which adds functionality)

Checklist

  • I am familiar with the contributing guidelines
  • I have followed the code style of the project
  • I have added tests to cover my changes
  • I have updated the documentation accordingly
  • This PR is a result of pair or mob programming

Sensitive Information Declaration

To ensure the utmost confidentiality and protect your and others privacy, we kindly ask you to NOT including PII (Personal Identifiable Information) / PID (Personal Identifiable Data) or any other sensitive data in this PR (Pull Request) and the codebase changes. We will remove any PR that do contain any sensitive information. We really appreciate your cooperation in this matter.

  • I confirm that neither PII/PID nor sensitive data are included in this PR and the codebase changes.

@nhs-oliverslater nhs-oliverslater requested review from a team and saliceti as code owners June 22, 2026 23:33
@nhs-oliverslater nhs-oliverslater changed the title build: enhance secret scanning with staged changes and complete history ci: enhance secret scanning with staged changes and complete history Jun 22, 2026
@nhs-oliverslater nhs-oliverslater merged commit d1ae746 into main Jun 22, 2026
15 checks passed
@nhs-oliverslater nhs-oliverslater deleted the fix/secret-scanning-staged-files branch June 22, 2026 23:35
uzairharoon20 pushed a commit that referenced this pull request Jun 23, 2026
DeepikaDK001 pushed a commit that referenced this pull request Jun 25, 2026
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.

1 participant