Closed mcserep closed 3 months ago
This pull request sets up GitHub code scanning for this repository. Once the scans have completed and the checks have passed, the analysis results for this pull request branch will appear on this overview. Once you merge this pull request, the 'Security' tab will show more code scanning analysis results (for example, for the default branch). Depending on your configuration and choice of analysis tool, future pull requests will be annotated with code scanning analysis results. For more information about GitHub code scanning, check out the documentation.
Closes #668.
The default CodeQL setup could not autobuild CodeCompass, therefore a manual workflow was defined, as described in the guide:
https://docs.github.com/en/code-security/code-scanning/creating-an-advanced-setup-for-code-scanning/codeql-code-scanning-for-compiled-languages
The new
codeql.yml
file has some redundancy with the build job inci.yml
, but refactoring this would require much more time than I have now. The performance is acceptable:Since I made CodeQL a separate workflow, it can run in parallel with the existing build and parse jobs, therefore it has no significant performance impact overall.