Skip to content

ci: add Semgrep SAST scanning on pull requests#149

Merged
ulziibay-kernel merged 2 commits intomainfrom
ci/semgrep
Apr 10, 2026
Merged

ci: add Semgrep SAST scanning on pull requests#149
ulziibay-kernel merged 2 commits intomainfrom
ci/semgrep

Conversation

@ulziibay-kernel
Copy link
Copy Markdown
Contributor

@ulziibay-kernel ulziibay-kernel commented Apr 10, 2026

Adds Semgrep static analysis on PRs to main via the reusable workflow in kernel/security-workflows. Includes .semgrepignore for generated code, test fixtures, and lock files.

Made with Cursor


Note

Low Risk
Low risk CI-only change that adds a new PR workflow; main risk is potential noisy findings or CI time/permissions issues.

Overview
Adds a new GitHub Actions workflow semgrep.yml to run Semgrep SAST on pull requests to main via the reusable kernel/security-workflows workflow, configured with the p/golang and p/trailofbits rulesets.

Introduces .semgrepignore to exclude common generated/dependency artifacts and test files (node_modules/, vendor/, dist/, *_test.go, go.sum) from scanning.

Reviewed by Cursor Bugbot for commit 2f53190. Bugbot is set up for automated code reviews on this repo. Configure here.

@firetiger-agent
Copy link
Copy Markdown

Firetiger deploy monitoring skipped

This PR didn't match the auto-monitor filter configured on your GitHub connection:

Any PR that changes the kernel API. Monitor changes to API endpoints (packages/api/cmd/api/) and Temporal workflows (packages/api/lib/temporal) in the kernel repo

Reason: PR only modifies CI/security configuration files and does not change any kernel API endpoints or Temporal workflows.

To monitor this PR anyway, reply with @firetiger monitor this.

@ulziibay-kernel ulziibay-kernel requested a review from Sayan- April 10, 2026 18:10
Copy link
Copy Markdown
Contributor

@Sayan- Sayan- left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM — standard Semgrep reusable workflow rollout. Go configs and .semgrepignore look correct.

@ulziibay-kernel ulziibay-kernel merged commit 6711caf into main Apr 10, 2026
4 checks passed
@ulziibay-kernel ulziibay-kernel deleted the ci/semgrep branch April 10, 2026 21:04
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.

2 participants