This repository was archived by the owner on Jan 2, 2026. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 60
Setup Code Scanning? #189
Copy link
Copy link
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Article
https://devblogs.microsoft.com/cppblog/code-scanning-with-github-actions/
Link to enable.
Reason
This basically builds and scans the code for known security issues. You get a green check mark if it succeeds to build and finds no issues.
It emails you if build fails.
Example of my codeql-analysis.yml for CleanPNG
You'd need to setup the build script as autobuild won't work as our project is setup. It'd be similar to how CleanPNG is setup
https://github.com/Sebanisu/CleanPNG/blob/master/.github/workflows/codeql-analysis.yml
But you'd need to pass arguments to msbuild to tell it what to build as DirectX or windows only code shouldn't compile on linux. Default no arguments seems to build everything in sln.
I can set it up but it'd email you, each time I fail to do it correctly :P
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request