On branch edburns/1511-codeql-quality-and-security#1566
Merged
Conversation
modified: .github/workflows/codeql.yml Per @jketema , CodeQL handles Quality and Security. Use this custom config to do both.
Contributor
There was a problem hiding this comment.
Pull request overview
Updates the repository’s CodeQL GitHub Actions workflow to run both security and code-quality queries, while also switching third-party actions to commit-SHA pinning for more deterministic builds.
Changes:
- Pin
actions/checkoutanddorny/paths-filterto specific commit SHAs. - Update CodeQL actions usage to a commit-pinned reference and configure
queries: security-and-quality. - Pin
upload-sariffor the “empty SARIF” path to the same CodeQL action reference.
Show a summary per file
| File | Description |
|---|---|
| .github/workflows/codeql.yml | Pins actions to commit SHAs and configures CodeQL to run the security-and-quality query suite. |
Copilot's findings
- Files reviewed: 1/1 changed files
- Comments generated: 4
|
|
||
| - name: Initialize CodeQL | ||
| uses: github/codeql-action/init@v3 | ||
| uses: github/codeql-action/init@a6fd1787519fd23e68309fad43738e41a6ff2a9d # v4 |
|
|
||
| - name: Autobuild | ||
| uses: github/codeql-action/autobuild@v3 | ||
| uses: github/codeql-action/autobuild@a6fd1787519fd23e68309fad43738e41a6ff2a9d # v4 |
|
|
||
| - name: Perform CodeQL Analysis | ||
| uses: github/codeql-action/analyze@v3 | ||
| uses: github/codeql-action/analyze@a6fd1787519fd23e68309fad43738e41a6ff2a9d # v4 |
|
|
||
| - name: Upload empty SARIF | ||
| uses: github/codeql-action/upload-sarif@v3 | ||
| uses: github/codeql-action/upload-sarif@a6fd1787519fd23e68309fad43738e41a6ff2a9d # v4 |
Collaborator
Author
|
Fixes #1511 . |
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
modified: .github/workflows/codeql.yml
Per @jketema , CodeQL handles Quality and Security. Use this custom config to do both.