-
Notifications
You must be signed in to change notification settings - Fork 242
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
Configuring custom severities not working with pre-push #364
Comments
Hi, have you found any solution? Thanks! |
Original ability was added in: thoughtworks#281 When trying out the functionality, it does not respect custom_severities as documented in the README. This patch addresses it by including the porting of custom severities from the the same location where other config keys are copied I've confirmed that it works both in a new test and in manual regression testing. Fixes: thoughtworks#364
Original ability was added in: thoughtworks#281 When trying out the functionality, it does not respect custom_severities as documented in the README. This patch addresses it by including the porting of custom severities from the the same location where other config keys are copied I've confirmed that it works both in a new test and in manual regression testing. Fixes: thoughtworks#364
Original ability was added in: thoughtworks#281 When trying out the functionality, it does not respect custom_severities as documented in the README. This patch addresses it by including the porting of custom severities from the the same location where other config keys are copied I've confirmed that it works both in a new test and in manual regression testing. Fixes: thoughtworks#364
@carhartl I took your reproduction case and validated that with my patch submitted in #459 it outputs the expected result and an exitcode of 0. There's a bit of nuance in that it WILL report it as "low" but won't fail the build by returning an exitcode != 0, which is the behavior I would want and what seems to be supported by the tool after this patch. Thank you for having succinct test case I could use (in addition to my own).
|
…works#459) Original ability was added in: thoughtworks#281 When trying out the functionality, it does not respect custom_severities as documented in the README. This patch addresses it by including the porting of custom severities from the the same location where other config keys are copied I've confirmed that it works both in a new test and in manual regression testing. Fixes: thoughtworks#364
Describe the bug
I don't seem to be able to make use of custom severities when using talisman within a pre-push hook.
To Reproduce
Steps to reproduce the behavior:
(Mimicking a pre-push hook in the last command.)
Output:
Expected behavior
Talisman does not report hex encoded text with high severity, no detections should have been reported respecting the threshold.
Environment:
The text was updated successfully, but these errors were encountered: