Closed Walz closed 4 months ago
I've renamed the command "changes" and get_default_branch
now returns the remote ref to the default branch, i.e. origin/main
. This prevent scanning old commits when you did not recently update your local version of the default branch.
Context
Add a command to scan the change between the current state and the default branch. Useful to check a feature branch does not add any new secret.
The naming (
changes
) may be discussed.What has been done
changes
command undersecret scan
Validation
ggshield secret scan changes
PR check list
skip-changelog
label has been added to the PR.