Fix #926: Enable CodeQL security scanning#2412
Merged
anshu10sep merged 1 commit intomainfrom Apr 15, 2026
Merged
Conversation
Add CodeQL GitHub Actions workflow that runs on: - Push to main and stable branches - Pull requests targeting main/stable - Weekly schedule (Monday 3:00 AM UTC) Configured for java-kotlin language analysis using the security-and-quality query suite. Uses build-mode 'none' since CodeQL supports autobuild for Kotlin/Java without a full Gradle build. Follows existing workflow patterns (harden-runner, pinned action SHAs).
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #2412 +/- ##
=========================================
Coverage 44.05% 44.05%
Complexity 19 19
=========================================
Files 39 39
Lines 4444 4444
Branches 51 51
=========================================
Hits 1958 1958
Misses 2472 2472
Partials 14 14
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
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. |
|
Snapshot diff report vs base branch: main |
dipenpradhan
approved these changes
Apr 10, 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
Adds CodeQL security scanning to the CI pipeline for automated vulnerability detection in Kotlin/Java code.
Problem
The repository lacked automated security scanning. CodeQL can detect common vulnerability patterns like SQL injection, path traversal, and unsafe deserialization.
Changes
.github/workflows/codeql.yml(NEW): CodeQL workflow that runs on push to main and on PRs, scanning Kotlin and Java source code.Configuration
main, pull requests targetingmainjava-kotlin(covers both Kotlin and Java)autobuildmode (auto-detects Gradle)security-and-quality(extended query suite)Validation
Fixes #926