Skip to content

Enable CodeQL security-extended and security-and-quality query packs - #183

Merged
AndreasIgel merged 2 commits into
java-helpers:mainfrom
AndreasIgel:feature/161-codeql-query-packs
Jul 20, 2026
Merged

AndreasIgel merged 2 commits into
java-helpers:mainfrom
AndreasIgel:feature/161-codeql-query-packs

Conversation

@AndreasIgel

@AndreasIgel AndreasIgel commented Jul 15, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

Enables the CodeQL security-extended,security-and-quality query packs in .github/workflows/codeql.yml (previously commented out), for both the actions and java-kotlin languages. The query set is supplied per language via a queries matrix entry and wired into the github/codeql-action/init step (queries: ${{ matrix.queries }}).

Why

The default CodeQL suite runs a limited query set. For a library consumed at compile time in high-security/high-reliability environments, the extended security-and-quality packs materially increase recall of vulnerabilities and quality issues in both the Java code and the GitHub Actions workflows.

Validation

Workflow-only change (no build impact); validated by review of the resulting codeql.yml.

Fixes #161

Maintainer TODOs

  • Ensure Code scanning is enabled (repo Security → Code scanning) so the CodeQL results (now using the security-extended,security-and-quality packs) are ingested and surfaced. Workflow-driven CodeQL works on public repos out of the box; this is just to confirm alerts appear.

Run the extended security and code-quality query suites (in addition to
the default) for both analyzed languages via a per-language matrix
'queries' field, increasing recall of security and robustness findings.

Refs java-helpers#161

Co-Authored-By: Andreas Igel <andreas.igel@computacenter.com>
@codecov

codecov Bot commented Jul 15, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ All tests successful. No failed tests found.

📢 Thoughts on this report? Let us know!

@AndreasIgel
AndreasIgel merged commit 933adf7 into java-helpers:main Jul 20, 2026
5 checks passed
@AndreasIgel
AndreasIgel deleted the feature/161-codeql-query-packs branch July 20, 2026 21:47
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.

Enable CodeQL security-extended and security-and-quality query packs

1 participant