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 10
10
FOSSA_API_KEY :
11
11
description : API token for FOSSA app
12
12
required : true
13
+
14
+ SEMGREP_PUBLISH_TOKEN :
15
+ description : Publish token for Semgrep
16
+ required : true
13
17
14
18
jobs :
15
19
fossa-scan :
@@ -35,11 +39,21 @@ jobs:
35
39
env :
36
40
FOSSA_API_KEY : ${{ secrets.FOSSA_API_KEY }}
37
41
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
+
38
54
build-unit-test :
39
55
name : build and run unit test
40
56
runs-on : ubuntu-20.04
41
- needs :
42
- - fossa-scan
43
57
steps :
44
58
- name : Checkout
45
59
uses : actions/checkout@v2
You can’t perform that action at this time.
0 commit comments