I'm having a GH-action which checks out source code, builds it, codeQL-checks it (+uploads the sarif results) and then publishes the built artifact to artifactory.
Hoewever, I would need to abort the publishing to our repo if there were vulnerabilities found by the github/codeql-action/analyze@v2 job. Only push if everything is ok.
Is this possible? Any way to access the scanning results inside the same running action workflow?