-
Notifications
You must be signed in to change notification settings - Fork 150
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add default behavior to ggshield secret ignore #960
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #960 /- ##
==========================================
Coverage 91.54% 91.65% 0.10%
==========================================
Files 178 178
Lines 7372 7383 11
==========================================
Hits 6749 6767 18
Misses 623 616 -7
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
fac18a6
to
dd2ba42
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Minor remarks, looks good overall.
changelog.d/20240912_120216_salome.voltz_add_ignore_hash_cmd.md
Outdated
Show resolved
Hide resolved
14ed6f0
to
b1050a6
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
2 minor remarks. Feel free to merge once they are fixed.
b1050a6
to
ef6bb9d
Compare
Context
Command
ggshield secret ignore
had no default behavior.What has been done
Default behavior is now :
ggshield secret ignore MATCH
to ignore a secret using its hash. There is also an optional option--name
to name the secret in thegitguardian.yaml
.Validation
ggshield secret ignore MATCH --name NAME
gitguardian.yaml
PR check list
skip-changelog
label has been added to the PR.