From 5896c8068079e228194533f26e72cbe897493600 Mon Sep 17 00:00:00 2001 From: Sayan Samanta Date: Wed, 29 Apr 2026 10:56:03 -0700 Subject: [PATCH] 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 --- .github/workflows/semgrep.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .github/workflows/semgrep.yml diff --git a/.github/workflows/semgrep.yml b/.github/workflows/semgrep.yml new file mode 100644 index 0000000..48774a9 --- /dev/null +++ b/.github/workflows/semgrep.yml @@ -0,0 +1,17 @@ +name: Semgrep + +on: + pull_request: + branches: [main] + +permissions: + contents: read + pull-requests: write + +jobs: + scan: + uses: kernel/security-workflows/.github/workflows/semgrep.yml@main + with: + extra-configs: '--config p/javascript --config p/typescript --config p/trailofbits' + codebase-description: 'Stainless-generated TypeScript/Node SDK for the Hypeman (Unikraft Cloud) API' + secrets: inherit