Skip to content

ci: add CodeQL workflow for static analysis - #319

Merged
kilodesodiq-arch merged 1 commit into
ChainForgee:mainfrom
Emelie-Dev:fix/issue-95-codeql
Jul 17, 2026
Merged

ci: add CodeQL workflow for static analysis#319
kilodesodiq-arch merged 1 commit into
ChainForgee:mainfrom
Emelie-Dev:fix/issue-95-codeql

Conversation

@Emelie-Dev

Copy link
Copy Markdown
Contributor

Description

Implements GitHub CodeQL static analysis across the repository to automatically catch potential security vulnerabilities during development.

Fixes backlog item #95.

Key Changes

  • New Workflow: Added .github/workflows/codeql.yml which triggers on push to main and pull_request targeting main.
  • Languages Analyzed: Enabled matrix execution for javascript-typescript, rust, and python, effectively analyzing the core services statically.
  • Automated PR Checking: Any PR introducing known security sinks (like unsafe command execution) will now be automatically surfaced via PR comments and block merging.

Motivation & Context

Currently, the repository lacks automated static application security testing (SAST). Implementing CodeQL enforces security best practices and helps detect vulnerabilities continuously within the development lifecycle.

closes #303

Adds a CodeQL GitHub Actions workflow to run on push and PR for the main branch, analyzing JavaScript, TypeScript, Rust, and Python. Fixes ChainForgee#95.
@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.

Copy link
Copy Markdown
Contributor

Awesome work on this! Thanks for the contribution 🚀 Merging now.

@kilodesodiq-arch
kilodesodiq-arch merged commit b0e9760 into ChainForgee:main Jul 17, 2026
4 checks passed
ifygreg01-best pushed a commit to ifygreg01-best/ChainForge that referenced this pull request Jul 23, 2026
Adds a CodeQL GitHub Actions workflow to run on push and PR for the main branch, analyzing JavaScript, TypeScript, Rust, and Python. Fixes ChainForgee#95.
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.

CodeQL workflow on push/PR across all sub-projects

3 participants