File tree Expand file tree Collapse file tree 1 file changed +6
-18
lines changed Expand file tree Collapse file tree 1 file changed +6
-18
lines changed Original file line number Diff line number Diff line change @@ -29,21 +29,9 @@ permissions:
29
29
jobs :
30
30
scan :
31
31
name : Mend
32
- runs-on : ubuntu-22.04
33
- steps :
34
- - name : Checkout Repository
35
- uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
36
- with :
37
- ref : ${{ inputs.branch && inputs.branch || github.ref }}
38
-
39
- - name : Download agent
40
- run : curl -fsSLJO https://github.com/whitesource/unified-agent-distribution/releases/latest/download/wss-unified-agent.jar
41
-
42
- - name : Verify JAR
43
- run : jarsigner -verify wss-unified-agent.jar
44
-
45
- - name : Scan and upload
46
- env :
47
- PRODUCT_NAME : kubernetes-ingress-controller_${{ inputs.branch && inputs.branch || github.ref_name }}
48
- PROJECT_NAME : nic
49
- 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 .
32
+ if : ${{ github.event.repository.fork == false }}
33
+ uses : nginxinc/compliance-rules/.github/workflows/mend.yml@c903bfe6c668eaba362cde6a7882278bc1564401 # v0.1
34
+ secrets : inherit
35
+ with :
36
+ product_name : kubernetes-ingress-controller_${{ inputs.branch && inputs.branch || github.ref_name }}
37
+ project_name : nic
You can’t perform that action at this time.
0 commit comments