Remove Java/Kotlin from CodeQL setup#6
Open
mendral-app[bot] wants to merge 1 commit into
Open
Conversation
The default CodeQL setup includes java-kotlin language scanning but the repository has no Java/Kotlin code, causing 25+ consecutive weekly failures since December 2025. This custom workflow replaces the default setup and only scans languages actually present in the repo: c-cpp, csharp, go, javascript-typescript, python, ruby, rust, and swift. Note: The default CodeQL setup must still be disabled in repository settings (Settings > Code security > CodeQL) for this custom workflow to take effect.
Author
CI Failure ExplanationThe
To resolve: Before merging, disable the default CodeQL setup in repository settings (Settings → Code security → CodeQL → Disable default setup). Once disabled, this custom workflow will handle all code scanning without java-kotlin. The default setup jobs ( |
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
java-kotlinwhich has caused 25+ consecutive weekly failures since December 2025.Important
Manual Steps Required Before Merging
This is required because the default setup runs independently of workflow files. Once disabled, this custom workflow will handle all CodeQL scanning without the failing java-kotlin job.
Context
The CodeQL default setup includes Java/Kotlin language scanning but the repository has no Java/Kotlin source code. Every weekly scheduled run fails with exit code 32: "CodeQL detected code written in C/C++, Ruby, GitHub Actions, JavaScript/TypeScript, Python, Go, Rust, Swift and C#, but not any written in Java/Kotlin."
Related insight: https://app.mendral.com/insights/01KT5J5Q1WV16BS5Q3P1JXWCT8
Note
Created by Mendral. Tag @mendral-app with feedback or questions.