forked from rtlabs-com/osal
-
Notifications
You must be signed in to change notification settings - Fork 0
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
Showing
1 changed file
with
21 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters