File tree Expand file tree Collapse file tree 3 files changed +40
-4
lines changed Expand file tree Collapse file tree 3 files changed +40
-4
lines changed Original file line number Diff line number Diff line change 16
16
scan :
17
17
name : Fossa
18
18
runs-on : ubuntu-22.04
19
+ if : ${{ github.event.repository.fork == false }}
19
20
steps :
20
21
- name : Checkout Repository
21
22
uses : actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
Original file line number Diff line number Diff line change 12
12
- reopened
13
13
- synchronize
14
14
15
- defaults :
16
- run :
17
- shell : bash
18
-
19
15
concurrency :
20
16
group : ${{ github.ref_name }}-lint
21
17
cancel-in-progress : true
22
18
19
+ permissions :
20
+ contents : read
21
+
23
22
jobs :
24
23
lint :
25
24
name : Lint
Original file line number Diff line number Diff line change
1
+ name : Mend
2
+
3
+ on :
4
+ push :
5
+ branches :
6
+ - main
7
+ paths-ignore :
8
+ - design/**
9
+ - deploy**
10
+ - docs/**
11
+ - examples/**
12
+
13
+ concurrency :
14
+ group : ${{ github.ref_name }}-mend
15
+ cancel-in-progress : true
16
+
17
+ permissions :
18
+ contents : read
19
+
20
+ jobs :
21
+ scan :
22
+ name : Mend
23
+ runs-on : ubuntu-22.04
24
+ if : ${{ github.event.repository.fork == false }}
25
+ steps :
26
+ - name : Checkout Repository
27
+ uses : actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
28
+ - name : Download agent
29
+ run : curl -LJO https://github.com/whitesource/unified-agent-distribution/releases/latest/download/wss-unified-agent.jar
30
+ - name : Verify JAR
31
+ run : jarsigner -verify wss-unified-agent.jar
32
+ - name : Scan and upload
33
+ env :
34
+ PRODUCT_NAME : nginx-kubernetes-gateway_${{ github.ref_name }}
35
+ PROJECT_NAME : nginx-kubernetes-gateway
36
+ run : java -jar wss-unified-agent.jar -noConfig true -wss.url ${{ secrets.WSS_URL }} -apiKey ${{ secrets.WSS_NGINX_TOKEN }} -product $PRODUCT_NAME -project $PROJECT_NAME -d .
You can’t perform that action at this time.
0 commit comments