Speed up CodeQL pull request analysis - #1655
Merged
aaronpowell merged 1 commit intoSep 28, 2026
Merged
Conversation
Contributor
|
🚀 Dogfood this PR with:
curl -fsSL https://raw.githubusercontent.com/CommunityToolkit/Aspire/main/eng/scripts/dogfood-pr.sh | bash -s -- 1655Or
iex "& { $(irm https://raw.githubusercontent.com/CommunityToolkit/Aspire/main/eng/scripts/dogfood-pr.ps1) } 1655" |
Contributor
There was a problem hiding this comment.
Copilot review overview
🟢 Approval recommended
The workflow-only change was fully reviewed with no blocking issues identified.
Review effort: Lite
Findings: None
What changed in this PR
This PR speeds up CodeQL pull-request analysis by skipping the C# autobuild step while retaining full builds for pushes and scheduled scans.
Changes:
- Uses
build-mode: nonefor pull requests. - Retains
autobuildfor other workflow events.
| File | Description |
|---|---|
.github/workflows/codeql.yml |
Configures CodeQL build mode by event type. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
aaronpowell
approved these changes
Sep 28, 2026
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
CodeQL analysis runs on pull requests are currently taking 15+ minutes as each run builds the entire community toolkit solution. Use
build-mode: nonefor pull request runs to avoid the autobuild step, while retainingautobuildfor pushes tomainand the scheduled full scan.Validation
Workflow-only change; tests were not run.