File tree Expand file tree Collapse file tree 1 file changed +12
-10
lines changed
Expand file tree Collapse file tree 1 file changed +12
-10
lines changed Original file line number Diff line number Diff line change 1818 WS_APIKEY_NGINX :
1919 required : true
2020 inputs :
21- branch :
22- type : string
23- required : true
24- default : main
21+ product_name :
22+ type : string
23+ required : true
24+ project_name :
25+ required : true
26+ type : string
2527
2628concurrency :
2729 group : ${{ github.ref_name }}-mend
3739 steps :
3840 - name : Checkout Repository
3941 uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
40- with :
41- ref : ${{ inputs.branch && inputs.branch || github.ref }}
42+ # with:
43+ # ref: ${{ inputs.branch && inputs.branch || github.ref }}
4244
4345 - name : Download agent
4446 run : curl -fsSLJO https://github.com/whitesource/unified-agent-distribution/releases/latest/download/wss-unified-agent.jar
@@ -49,10 +51,10 @@ jobs:
4951 - name : Scan and upload
5052 env :
5153 WS_URL : " https://f5.whitesourcesoftware.com/agent"
52- WS_APIKEY_NGINX : ${{ secrets .WS_APIKEY_NGINX }}
53- PRODUCT_NAME : nginx-tiger-demo1_ ${{ inputs.branch && inputs.branch || github.ref_name }}
54- PROJECT_NAME : tiger-demo1
55- WS_PROJECT : tiger-demo1
54+ WS_APIKEY_NGINX : ${{ inputs .WS_APIKEY_NGINX }}
55+ PRODUCT_NAME : ${{ inputs.product_name }}
56+ PROJECT_NAME : ${{ inputs.project_name}}
57+
5658 run : |
5759 if [ -z "$WS_APIKEY_NGINX" ]; then
5860 echo "Secret is empty"
You can’t perform that action at this time.
0 commit comments