forked from microsoft/hcsshim
-
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.
Configure advanced codeql.yml scanning
It appears GH doesn't recognize our CodeQL pipeline and attempts to run its own default version. Rename the workflow to conform to what GH expects of the standard "advanced setup" for CodeQL, with some minor updates: - run on `release/*` branches - use the recommended job permissions - explicit `manual` build mode - use `c-cpp` instead of `cpp` - add a `codeql-config` file to ignore the test and vendor directories Based on recommendations here, which simple create the appropriate workflow: https://docs.github.com/en/enterprise-cloud@latest/code-security/code-scanning/creating-an-advanced-setup-for-code-scanning/configuring-advanced-setup-for-code-scanning-with-codeql-at-scale Signed-off-by: Hamza El-Saawy <[email protected]>
- Loading branch information
Showing
2 changed files
with
28 additions
and
10 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
name: "CodeQL config" | ||
|
||
queries: | ||
- uses: default | ||
|
||
paths-ignore: | ||
- "/vendor/" | ||
- "/test/" |
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