Skip to content

Ci/add codeql workflow#1

Merged
roshan-ku merged 4 commits into
mainfrom
ci/add-codeql-workflow
Jul 13, 2026
Merged

Ci/add codeql workflow#1
roshan-ku merged 4 commits into
mainfrom
ci/add-codeql-workflow

Conversation

@roshan-ku

Copy link
Copy Markdown
Owner

Description

Checklist

Code Quality

  • Code follows project style guidelines
  • No unnecessary debug logs or commented-out code
  • No hardcoded values / secrets

Testing

  • Unit test added/modified accordingly
  • Perform manual basic sanity testing at system level

Review Readiness

  • PR title and description are clear and meaningful
  • Story/Task IDs are linked

Documentation

  • README or relevant docs updated (if applicable)

Security

  • No sensitive data exposed (keys, passwords, tokens)
  • Input validation added where needed

PR Type

What kind of change does this PR introduce?

  • Bugfix
  • Feature
  • Code style update (formatting, local variables)
  • Refactoring (no functional changes, no api changes)
  • Documentation content changes
  • Testing
  • Other... Please describe:

Adds .github/workflows/codeql.yml, adapted from GitHub's default
CodeQL Advanced setup template for this repo:
- reduced language matrix to c-cpp (only language used in this repo)
- build-mode set to manual, reusing the environment-check and
  build-dvledtx composite actions so CodeQL traces the same
  meson/ninja build the rest of CI performs
- pinned actions/checkout and github/codeql-action to the same SHAs
  already used elsewhere in this repo's workflows
- added concurrency group and job timeout consistent with other
  workflows in this repo
- codeql.yml: simplified to match coverity.yml (weekly schedule +
  workflow_dispatch only, single job, minimal permissions), dropping
  the push/pull_request triggers and language matrix since this repo
  only analyzes c-cpp.
- scan_on_demand.yml: added CodeQL init/build/analyze steps alongside
  the existing Coverity Scan step, so an on-demand scan also runs
  CodeQL.
Adds .github/actions/analysis/codeql/action.yml (Initialize CodeQL,
Build dvledtx, Perform CodeQL Analysis), matching the pattern used by
the other .github/actions/analysis/* actions (coverity, trivy, etc).

codeql.yml and scan_on_demand.yml now both call this single composite
action instead of duplicating the three inline steps.
@roshan-ku
roshan-ku merged commit d1cda2b into main Jul 13, 2026
1 of 2 checks passed
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.

1 participant