HYPERFLEET-1101 - chore: migrate secret scanning from rh-pre-commit to LeakTK#223
HYPERFLEET-1101 - chore: migrate secret scanning from rh-pre-commit to LeakTK#223rafabene wants to merge 1 commit into
Conversation
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Central YAML (base), Organization UI (inherited) Review profile: CHILL Plan: Enterprise Run ID: 📒 Files selected for processing (10)
🔗 Linked repositories identifiedCodeRabbit considers these linked repositories for cross-repo context during reviews:
💤 Files with no reviewable changes (4)
✅ Files skipped from review due to trivial changes (3)
🚧 Files skipped from review as they are similar to previous changes (3)
📝 WalkthroughSummary by CodeRabbit
WalkthroughPR replaces internal Estimated code review effort🎯 2 (Simple) | ⏱️ ~12 minutes 🚥 Pre-merge checks | ✅ 11✅ Passed checks (11 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
✨ Simplify code
Comment |
61a5851 to
dd7f85d
Compare
…o LeakTK Replace rh-pre-commit (VPN-dependent) and rh-hooks-ai with the standard HyperFleet pre-commit configuration: - LeakTK v0.3.3 for secret scanning (open-source, no VPN required) - hyperfleet-hooks v0.1.1 for commit message validation, gofmt, lint, vet - pre-commit-hooks v6.0.0 for file hygiene (trailing whitespace, EOF, large files) Also adds Makefile targets: install-hooks, gofmt, go-vet.
dd7f85d to
603fce6
Compare
Risk Score: 0 —
|
| Signal | Detail | Points |
|---|---|---|
| PR size | 99 lines | +0 |
| Sensitive paths | none | +0 |
Computed by hyperfleet-risk-scorer
Summary
Migrates hyperfleet-api from the VPN-dependent
rh-pre-commitandrh-hooks-aihooks to the standard HyperFleet pre-commit configuration:hyperfleet-commitlint), Go formatting, linting, and vetChanges
.pre-commit-config.yaml— replacedrh-pre-commit+rh-hooks-aiwith standard configMakefile— addedinstall-hooks,gofmt,go-vettargetsAGENTS.md— updated pre-commit hooks section with new hook listdocs/development.md— removed "For External Contributors" section (no longer needed since LeakTK has no VPN dependency), updated setup instructions to usemake install-hookstrailing-whitespaceandend-of-file-fixerhooks on first runAfter merging
Team members should run
make install-hooksto install the new hooks. First commit after installation takes 3-5 minutes while LeakTK compiles (one-time).Ref: https://redhat.atlassian.net/browse/HYPERFLEET-1101