Repository navigation
PYTHON-5877 Add codeql composite action - #108
Merged
Merged
Conversation
Centralises the CodeQL analysis steps and pinned action version so Dependabot only needs to update one file for all drivers.
Merged
1 of 4 tasks
aclark4life
marked this pull request as draft
June 18, 2026 19:50
blink1073
requested changes
Jun 22, 2026
Contributor
There was a problem hiding this comment.
Pull request overview
Adds a new codeql composite GitHub Action to standardize CodeQL scanning across driver repos by centralizing the pinned github/codeql-action reference, and documents its usage in the repository README.
Changes:
- Introduces
codeql/action.ymlcomposite action to run CodeQL init/analyze (with optional manual build). - Documents the new action and provides workflow examples in
README.md.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 6 comments.
| File | Description |
|---|---|
| README.md | Adds documentation and example workflows for consuming the new codeql composite action. |
| codeql/action.yml | Adds a composite action that checks out code, sets up language tooling, initializes CodeQL, optionally builds, and runs analysis. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Co-authored-by: Steven Silvester <steve.silvester@mongodb.com>
…checkout, pin version comments, README YAML
Contributor
Author
|
@blink1073 GTG according to the 🤖 s and I |
Member
|
FYI The codeql job for |
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.
Summary
codeqlcomposite action that encapsulates the full CodeQL analysis workflow (checkout, Python setup, init, optional manual build, analyze) for a single language.github/codeql-actionhash so Dependabot only needs to update one file across all drivers instead of every repo independently.Test Plan