Allow non-0 exit codes#10
Conversation
|
I feel like it is something we should let the users of the action configure the behaviour, also to not break things for existing users. Furthermore it should still fail with exit codes 242 to 255 as these are "real" errors. |
I can add a threshold like the one for the score? That way one can have a configurable amount of ambiguous results and errors. The default could then be set to allow only scores of
Absolutely. I've been experimenting with also printing the the exit code in the output, but it seems that both |
Given the docs it should be the way to go, try using the
|
This PR adds an
execOptionsobject that is passed tocore.exec()to allow non-zero exit codes. This is becausetestssl.shnow uses the exit code to signal ambigous results or errors, which can be present during a successful test. This is documented here.