Skip to content

Commit 97ea78d

Browse files
committed
ci: add Semgrep SAST scanning on pull requests
Subscribes this repo to the shared Semgrep workflow in kernel/security-workflows as part of expanding the elevated vulnerability management scope to customer-facing SDKs (KERNEL-1191, INC-51 follow-up). Made-with: Cursor
1 parent 41c233b commit 97ea78d

1 file changed

Lines changed: 17 additions & 0 deletions

File tree

.github/workflows/semgrep.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: Semgrep
2+
3+
on:
4+
pull_request:
5+
branches: [main]
6+
7+
permissions:
8+
contents: read
9+
pull-requests: write
10+
11+
jobs:
12+
scan:
13+
uses: kernel/security-workflows/.github/workflows/semgrep.yml@main
14+
with:
15+
extra-configs: '--config p/python --config p/trailofbits'
16+
codebase-description: 'Stainless-generated Python SDK for the Kernel API (public PyPI package used by customers)'
17+
secrets: inherit

0 commit comments

Comments
 (0)