File tree Expand file tree Collapse file tree 2 files changed +68
-0
lines changed Expand file tree Collapse file tree 2 files changed +68
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Fossa
2
+
3
+ on :
4
+ workflow_dispatch :
5
+ inputs :
6
+ branch :
7
+ type : string
8
+ required : false
9
+ default : main
10
+
11
+ concurrency :
12
+ group : ${{ github.ref_name }}-fossa
13
+ cancel-in-progress : true
14
+
15
+ permissions :
16
+ contents : read
17
+
18
+ jobs :
19
+ scan :
20
+ name : Fossa
21
+ runs-on : ubuntu-24.04
22
+ if : ${{ github.event.repository.fork == false }}
23
+ steps :
24
+ - name : Checkout Repository
25
+ uses : actions/checkout@85e6279cec87321a52edac9c87bce653a07cf6c2 # v4.2.2
26
+
27
+ - name : Scan
28
+ uses : fossas/fossa-action@93a52ecf7c3ac7eb40f5de77fd69b1a19524de94 # v1.5.0
29
+ with :
30
+ api-key : ${{ secrets.FOSSA_TOKEN }}
Original file line number Diff line number Diff line change
1
+ name : Mend
2
+
3
+ on :
4
+ workflow_dispatch :
5
+ inputs :
6
+ branch :
7
+ type : string
8
+ required : false
9
+ default : main
10
+
11
+ concurrency :
12
+ group : ${{ github.ref_name }}-mend
13
+ cancel-in-progress : true
14
+
15
+ permissions :
16
+ contents : read
17
+
18
+ jobs :
19
+ scan :
20
+ name : Mend
21
+ runs-on : ubuntu-24.04
22
+ steps :
23
+ - name : Checkout Repository
24
+ uses : actions/checkout@85e6279cec87321a52edac9c87bce653a07cf6c2 # v4.2.2
25
+ with :
26
+ ref : ${{ inputs.branch && inputs.branch || github.ref }}
27
+
28
+ - name : Download agent
29
+ run : curl -fsSLJO https://github.com/whitesource/unified-agent-distribution/releases/latest/download/wss-unified-agent.jar
30
+
31
+ - name : Verify JAR
32
+ run : jarsigner -verify wss-unified-agent.jar
33
+
34
+ - name : Scan and upload
35
+ env :
36
+ PRODUCT_NAME : nginx_documentation_${{ inputs.branch && inputs.branch || github.ref_name }}
37
+ PROJECT_NAME : nic
38
+ run : java -jar wss-unified-agent.jar -noConfig true -wss.url ${{ secrets.WSS_URL }} -apiKey ${{ secrets.WS_APIKEY_NGINX }} -product ${{ secrets.WS_PRODUCT }} -project ${{ secrets.WS_PROJECT }} -d .
You can’t perform that action at this time.
0 commit comments