Repository navigation
Add Semgrep SAST workflow - #38
Merged
Merged
Conversation
Runs Semgrep (p/default) as the "Semgrep SAST" check on every PR to main, diff-aware against the PR base so only newly introduced findings fail. Pushes to main run a full, report-only scan. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01NgEiZxpTQEsuZCXUbkYwXe
quinnmil
marked this pull request as ready for review
November 2, 2026 23:08
mitchh456
approved these changes
Nov 2, 2026
mitchh456
left a comment
There was a problem hiding this comment.
Trigger branch matches the main default branch and ci.yml; pins and container match the reviewed apm#5719 copy; comments and description are accurate.
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.
Why
This adds static analysis to every PR so new security findings get caught before they merge.
What
Adds
.github/workflows/semgrep.yml, which runs the jobSemgrep SAST(Semgrep 1.183.0,p/default, metrics off).mainare diff-aware (--baseline-commit= PR base), so only findings the PR introduces fail the check.mainrun a full scan in report-only mode.Merging runs:
test,lint): tests and linting only.release.ymlruns only onv*tags, so nothing is released.Follow-ups
Semgrep SASTas the static analysis check name wherever this repo's checks are tracked.🤖 Generated with Claude Code
https://claude.ai/code/session_01NgEiZxpTQEsuZCXUbkYwXe