Repository navigation
ci: add CodeQL static analysis - #355
Merged
Merged
Conversation
|
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. |
abhinavagarwal07
force-pushed
the
ci-codeql
branch
2 times, most recently
from
May 20, 2026 03:04
5f06e57 to
4807d79
Compare
abhinavagarwal07
force-pushed
the
ci-codeql
branch
5 times, most recently
from
May 22, 2026 01:35
34edda5 to
5393ddf
Compare
abhinavagarwal07
force-pushed
the
ci-codeql
branch
from
October 22, 2026 09:22
5393ddf to
00f7c66
Compare
Run the security-extended suite on the C code using a manual meson build. Triggers on push and PR to master, weekly, and on demand.
abhinavagarwal07
force-pushed
the
ci-codeql
branch
from
October 22, 2026 09:27
00f7c66 to
ba0138d
Compare
abhinavagarwal07
marked this pull request as ready for review
October 22, 2026 09:27
There was a problem hiding this comment.
🟢 Approval recommended
The workflow matches the stated scope and manual-build requirements, with no blocking issues identified.
No open issues 🎉
What changed in this PR
Adds CodeQL static analysis for the project’s C code using the security-extended suite and a manual Meson debug build of sshfs.
Changes:
- Runs on pushes and pull requests to
master, weekly on Mondays, and manual dispatch. - Installs build dependencies, builds
sshfs, and submits CodeQL analysis results. - Pins actions to full commit SHAs and limits
security-events: writepermission to the analysis job.
| File | Description |
|---|---|
.github/workflows/codeql.yml |
Adds the CodeQL workflow, including triggers, permissions, build steps, and analysis. |
Review effort: Balanced
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.
Add
codeql.ymlrunning the CodeQLsecurity-extendedsuite on the C code, in manual build mode (meson debug build ofsshfs). It catches things like format strings (CWE-134) and buffer overflows (CWE-120).Runs on push and PR to master, weekly on Mondays, and on manual dispatch. Actions are pinned to full SHAs, checkout and setup-python the same as the other workflows. The workflow default is
contents: read, and only the job getssecurity-events: write.The CodeQL CLI and query packs are not pinned, they follow the action's default (latest bundle).