Fix CodeQL configuration warning by adding Rust support#99
Merged
Conversation
- Add 'rust' to the language matrix in CodeQL workflow - Update comments to reflect that CodeQL now has experimental Rust support as of 2025 - This fixes the GitHub Advanced Security warning about missing configuration 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
Contributor
There was a problem hiding this comment.
Pull Request Overview
This PR adds experimental Rust language support to the CodeQL analysis workflow to resolve a GitHub Advanced Security warning about missing Rust configuration.
- Added Rust to the CodeQL analysis language matrix alongside JavaScript
- Created a CodeQL configuration file with appropriate ignore paths and documentation
- Updated comments to reflect experimental Rust support availability in 2025
Reviewed Changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 3 comments.
| File | Description |
|---|---|
.github/workflows/codeql-analysis.yml |
New CodeQL workflow file with JavaScript and Rust language support |
.github/codeql/codeql-config.yml |
New CodeQL configuration file with ignore paths and Rust support documentation |
GitHub's default CodeQL setup is enabled for this repository, which conflicts with custom workflows. The default setup already provides Rust support along with other languages automatically. Removing: - .github/workflows/codeql-analysis.yml - .github/codeql/codeql-config.yml This resolves the build failure and simplifies the security scanning configuration. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
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
Added Rust language to CodeQL analysis matrixUpdated configuration comments to reflect experimental Rust supportContext
GitHub Advanced Security was showing a warning that CodeQL couldn't determine alerts introduced by PRs because the Rust language configuration was missing.
UPDATE: The build failure revealed that the repository has GitHub's default CodeQL setup enabled, which conflicts with custom workflows. The default setup already provides automatic language detection and support, including Rust.
Solution
Removed the custom CodeQL workflow and configuration files to let the default setup handle code scanning automatically.
Test plan
🤖 Generated with Claude Code