Skip to content

Commit a968cd1

Browse files
ci: use reusable workflow for semgrep (#886)
Updated the build-test-release workflow to use [sast-scan](https://github.com/splunk/sast-scanning) owned by product security team instead of using custom implementation. Ref: https://splunk.atlassian.net/browse/ADDON-72309
1 parent 7d95b61 commit a968cd1

File tree

1 file changed

+3
-8
lines changed

1 file changed

+3
-8
lines changed

.github/workflows/build-test-release.yml

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -62,14 +62,9 @@ jobs:
6262
- uses: pre-commit/[email protected]
6363

6464
semgrep:
65-
runs-on: ubuntu-latest
66-
name: security-sast-semgrep
67-
steps:
68-
- uses: actions/checkout@v4
69-
- id: semgrep
70-
uses: semgrep/semgrep-action@v1
71-
with:
72-
publishToken: ${{ secrets.SEMGREP_PUBLISH_TOKEN }}
65+
uses: splunk/sast-scanning/.github/workflows/sast-scan.yml@main
66+
secrets:
67+
SEMGREP_KEY: ${{ secrets.SEMGREP_PUBLISH_TOKEN }}
7368

7469
test-splunk-unit:
7570
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)