File tree Expand file tree Collapse file tree 1 file changed +16
-2
lines changed Expand file tree Collapse file tree 1 file changed +16
-2
lines changed Original file line number Diff line number Diff line change 1010 FOSSA_API_KEY :
1111 description : API token for FOSSA app
1212 required : true
13+
14+ SEMGREP_PUBLISH_TOKEN :
15+ description : Publish token for Semgrep
16+ required : true
1317
1418jobs :
1519 fossa-scan :
@@ -35,11 +39,21 @@ jobs:
3539 env :
3640 FOSSA_API_KEY : ${{ secrets.FOSSA_API_KEY }}
3741
42+ semgrep :
43+ runs-on : ubuntu-latest
44+ name : security-sast-semgrep
45+ if : github.actor != 'dependabot[bot]'
46+ steps :
47+ - uses : actions/checkout@v3
48+ - name : Semgrep
49+ id : semgrep
50+ uses : returntocorp/semgrep-action@v1
51+ with :
52+ publishToken : ${{ secrets.SEMGREP_PUBLISH_TOKEN }}
53+
3854 build-unit-test :
3955 name : build and run unit test
4056 runs-on : ubuntu-20.04
41- needs :
42- - fossa-scan
4357 steps :
4458 - name : Checkout
4559 uses : actions/checkout@v2
You can’t perform that action at this time.
0 commit comments