Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Upload clang analysis only if issues were found
Detect if issues were found and upload SARIF report only in that case, because reports without entries are not accepted. See github/codeql-action#390. The analyzer is run twice in order to get a SARIF report as well as an exit status when issues are detected, as the scan-build --status-bugs parameter doesn't work when the output format is SARIF.
- Loading branch information