Add CodeQL workflow for code analysis#60342
Conversation
trying to resolve Continuous SDL warning saying we do not have CodeQL setup in this repo
|
You are seeing this message because GitHub Code Scanning has recently been set up for this repository, or this pull request contains the workflow file for the Code Scanning tool. What Enabling Code Scanning Means:
For more information about GitHub Code Scanning, check out the documentation. |
1 similar comment
|
You are seeing this message because GitHub Code Scanning has recently been set up for this repository, or this pull request contains the workflow file for the Code Scanning tool. What Enabling Code Scanning Means:
For more information about GitHub Code Scanning, check out the documentation. |
There was a problem hiding this comment.
Pull request overview
Adds a GitHub Actions CodeQL workflow to enable code scanning for the repository and address the Continuous SDL warning about missing CodeQL setup.
Changes:
- Introduces a new
.github/workflows/codeql.ymlworkflow for CodeQL “advanced” scanning. - Configures a language matrix to analyze Actions, C#, JavaScript/TypeScript, and Python.
- Schedules periodic scans and runs analysis on pushes/PRs for selected branches.
…nal, pin actions to SHA Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
| name: "CodeQL Advanced" | ||
|
|
||
| on: | ||
| push: |
There was a problem hiding this comment.
There's no way we should be adding this on every PR at 90+ minutes. We'd need to very specifically scope this to only the files changed in a PR.
@jsquire This is the place where codeQl is enabled in the main build job: @MrJustinB codeQL is already enabled for 'azure-sdk-for-net' repo and we don't need this change. |
trying to resolve Continuous SDL warning saying we do not have CodeQL setup in this repo
Contributing to the Azure SDK
Please see our CONTRIBUTING.md if you are not familiar with contributing to this repository or have questions.
For specific information about pull request etiquette and best practices, see this section.