Skip to content

chore: add pre-commit config with gitleaks hook (#782) - #786

Open
hunterckx wants to merge 2 commits into
mainfrom
hunter/782-gitleaks
Open

hunterckx wants to merge 2 commits into
mainfrom
hunter/782-gitleaks

Conversation

@hunterckx

Copy link
Copy Markdown
Contributor

Closes #782

Copilot AI balanced review requested due to automatic review settings November 14, 2026 00:58

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🟢 Approval recommended

No active review issues are recorded for the secret-scanning hook and contributor setup changes.

No open issues 🎉

What changed in this PR

Adds a local secret-scanning pre-commit hook for Meta-disco, implementing issue #782, and documents contributor setup.

Changes:

  • Runs the machine-installed gitleaks against staged changes, with redacted output and pass_filenames: false.
  • Documents dependency installation and hook activation for each clone.
File Description
README.md Adds installation and activation instructions for pre-commit checks.
.pre-commit-config.yaml Configures the local gitleaks hook at the pre-commit stage.

Review effort: Balanced

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: No status

Development

Successfully merging this pull request may close these issues.

Add a committed gitleaks pre-commit hook

3 participants