Fix license check exit status
What does this MR do and why?
Fixes #378350 (closed)
And fixes the static analysis pipelines so that they fail when we have an detected unapproved dependency.
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Edited by DJ Mountney