Skip to content

feat: add diff-only scan scoping#77

Open
lelia wants to merge 1 commit into
mainfrom
lelia/ask-370-socket-basics-diff-only-changed-files-scope-for-sastopengrep
Open

feat: add diff-only scan scoping#77
lelia wants to merge 1 commit into
mainfrom
lelia/ask-370-socket-basics-diff-only-changed-files-scope-for-sastopengrep

Conversation

@lelia
Copy link
Copy Markdown
Contributor

@lelia lelia commented Jun 2, 2026

Summary

  • Add changed-file and explicit file scan scoping for SAST/OpenGrep
  • Add GitHub Action inputs for changed_files and scan_files
  • Skip scoped scans when the resolved target list is empty

Testing

  • uv run --with pytest pytest tests/test_changed_files_scope.py
  • git diff --check HEAD

Fixes: ASK-370

Signed-off-by: lelia <2418071+lelia@users.noreply.github.com>
@lelia lelia requested a review from a team as a code owner June 2, 2026 22:34
@lelia lelia changed the title Add diff-only scan scoping feat: add diff-only scan scoping Jun 3, 2026
@lelia lelia added the enhancement New feature or request label Jun 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants