Skip to content

Add CodeQL static analysis workflow (java-kotlin) - #22

Merged
guyiome merged 2 commits into
mainfrom
add-codeql-workflow
Aug 20, 2026
Merged

Add CodeQL static analysis workflow (java-kotlin)#22
guyiome merged 2 commits into
mainfrom
add-codeql-workflow

Conversation

@guyiome

@guyiome guyiome commented Aug 20, 2026

Copy link
Copy Markdown
Owner

Summary

  • Ajoute un workflow CodeQL (java-kotlin) en plus du build+test existant.
  • Se déclenche sur push/PR vers main et une fois par semaine.
  • build-mode: manual, mêmes étapes de préparation que ci.yml (JDK 17, modèle MediaPipe).
  • Résultats dans Security > Code scanning, pas dans les logs du workflow.

Motivation

Repo public depuis le 15/08, app qui gère des protocoles réseau entrants (écoute UDP passive pour VBridger, token d'auth WebSocket pour VTube Studio) — un scan de sécurité statique en plus du CI actuel est justifié.

Test plan

  • Workflow syntaxiquement valide (à confirmer par le run CI déclenché par cette PR elle-même)

Repo is public and the app handles inbound network protocols (passive
UDP listener for VBridger, WebSocket auth token for VTube Studio) --
worth a proper security scan on top of the existing build+test CI.
Runs on push/PR to main and weekly, manual build-mode (matches ci.yml's
own model-download step, autobuild doesn't handle this Gradle setup
well). Results surface in Security > Code scanning, not in this
workflow's own logs.
First run failed ("could not process any code written in Java/Kotlin")
-- the build-and-test job had already populated the Gradle build
cache for this commit, so compileDebugKotlin came back UP-TO-DATE and
CodeQL never traced an actual compiler invocation. --no-build-cache
(plus clean) forces a real compile for the tracer to observe.
@guyiome
guyiome force-pushed the add-codeql-workflow branch from 98320f7 to 4243fd2 Compare August 20, 2026 16:44
@github-advanced-security

Copy link
Copy Markdown

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:

  • The 'Security' tab will display more code scanning analysis results (e.g., for the default branch).
  • Depending on your configuration and choice of analysis tool, future pull requests will be annotated with code scanning analysis results.
  • You will be able to see the analysis results for the pull request's branch on this overview once the scans have completed and the checks have passed.

For more information about GitHub Code Scanning, check out the documentation.

@guyiome
guyiome merged commit 20750b8 into main Aug 20, 2026
3 checks passed
@guyiome
guyiome deleted the add-codeql-workflow branch August 20, 2026 16:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants