Skip to content

Conversation

@bobbyonmagic
Copy link
Collaborator

Partial fix for #750 - adds Pre-commit Hooks guide (skill 8 of 24)

Changes

  • 5 new guide files covering pre-commit framework, gitleaks, detect-secrets, and custom hooks
  • Updated DevSecOps roadmap with link to guide

Guide Contents

  1. Pre-commit Framework - Installation, configuration, CI integration, hook stages
  2. Gitleaks - Secrets detection, custom rules, baseline files, GitHub Actions
  3. Detect-secrets - Baseline-aware scanning, plugin architecture, audit workflow
  4. Custom Security Hooks - Building organization-specific checks

Key Topics Covered

  • Blocking sensitive file types (.pem, .key, .env)
  • Detecting hardcoded secrets (AWS keys, tokens, passwords)
  • Comparing gitleaks vs detect-secrets
  • Writing custom hooks in Python, Bash, Node.js, Go
  • Publishing shared hooks across repositories

All 4484 tests pass.

@cloudflare-workers-and-pages
Copy link

Deploying devops-daily with  Cloudflare Pages  Cloudflare Pages

Latest commit: ac57fbe
Status: ✅  Deploy successful!
Preview URL: https://2f4a4656.devops-daily.pages.dev
Branch Preview URL: https://issue-750-pre-commit-hooks-g.devops-daily.pages.dev

View logs

@bobbyonmagic bobbyonmagic merged commit e1c65de into main Feb 1, 2026
2 checks passed
@bobbyonmagic bobbyonmagic deleted the issue-750-pre-commit-hooks-guide branch February 1, 2026 20:32
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.

2 participants