CLI-298 git pre push#175
CLI-298 git pre push#175kirill-knize-sonarsource merged 2 commits intotask/kk/CLI-244-245-callback-infrastructurefrom
Conversation
SummaryThis PR moves the git pre-push secret scanning logic from shell scripts into TypeScript. Previously, the scan was implemented as inline shell code embedded in git hook scripts. Now it's a proper CLI command ( The refactoring simplifies the hook scripts (both native What reviewers should knowWhere to start:
Key details for reviewers:
|
69449ba to
c38b117
Compare
7c4a5f2 to
fcccd2a
Compare
c38b117 to
6a60055
Compare
4724e6a to
ba8e2c6
Compare
Replaces the embedded shell logic in the pre-push hook script with a thin launcher that delegates to `sonar hook git-pre-push`. The TypeScript handler reads pushed refs from stdin, resolves the file list via git diff/rev-list, and scans with the secrets binary.
ba8e2c6 to
0fc66d4
Compare
eray-felek-sonarsource
left a comment
There was a problem hiding this comment.
1 comment otherwise tested and LGTM
|
d27592a
into
task/kk/CLI-244-245-callback-infrastructure



No description provided.