feat(infra): added codeql workflow file#177
Merged
sushant-suse merged 3 commits intoopenSUSE:mainfrom Feb 16, 2026
Merged
Conversation
Signed-off-by: sushant-suse <[email protected]>
|
This pull request sets up GitHub code scanning for this repository. Once the scans have completed and the checks have passed, the analysis results for this pull request branch will appear on this overview. Once you merge this pull request, the 'Security' tab will show more code scanning analysis results (for example, for the default branch). Depending on your configuration and choice of analysis tool, future pull requests will be annotated with code scanning analysis results. For more information about GitHub code scanning, check out the documentation. |
Coverage ReportFor commit ad72bb3 Click to expand Coverage Report Name Stmts Miss Branch BrPart Cover
--------------------------------------------------------------------------------
+ src/docbuild/cli/cmd_check/process.py 60 0 22 1 98.8%
+ src/docbuild/utils/pidlock.py 79 1 14 1 97.8%
+ src/docbuild/cli/cmd_validate/process.py 178 3 52 2 97.8%
+ src/docbuild/config/xml/stitch.py 48 1 12 1 96.7%
+ src/docbuild/cli/callback.py 35 0 10 2 95.6%
+ src/docbuild/cli/cmd_metadata/metaprocess.py 167 10 42 7 91.9%
- src/docbuild/cli/cmd_config/__init__.py 9 1 0 0 88.9%
- src/docbuild/cli/cmd_cli.py 86 11 6 3 84.8%
- src/docbuild/cli/cmd_check/__init__.py 18 5 2 0 65.0%
- src/docbuild/cli/cmd_build/__init__.py 13 5 0 0 61.5%
- src/docbuild/cli/cmd_metadata/__init__.py 27 10 2 0 58.6%
- src/docbuild/cli/cmd_config/environment.py 11 6 2 0 38.5%
--------------------------------------------------------------------------------
+ TOTAL 2744 53 638 17 97.8%
47 files skipped due to complete coverage. |
Signed-off-by: sushant-suse <[email protected]>
Signed-off-by: sushant-suse <[email protected]>
tomschr
approved these changes
Feb 16, 2026
Contributor
tomschr
left a comment
There was a problem hiding this comment.
That looks great! 👍 Thanks Sushant.
🚢 it!
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.
Related Issue #164
This PR integrates GitHub CodeQL into our CI/CD pipeline to perform automated semantic and security analysis of the Python codebase. While our current Ruff linting catches style and basic logic errors, CodeQL performs deep data-flow analysis to identify potential security vulnerabilities (CWEs) that static linters might miss.
Changes:
.github/workflows/codeql-analysis.ymlto scan on pushes tomainand all Pull Requests.src/**) or CI configurations change.uvto install thegithub-actiongroup during analysis, allowing CodeQL to resolve third-party library calls for more accurate results.security-extendedandsecurity-and-qualityquery suites for comprehensive coverage.Use Case: