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 18
18
WS_APIKEY_NGINX :
19
19
required : true
20
20
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
25
27
26
28
concurrency :
27
29
group : ${{ github.ref_name }}-mend
37
39
steps :
38
40
- name : Checkout Repository
39
41
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 }}
42
44
43
45
- name : Download agent
44
46
run : curl -fsSLJO https://github.com/whitesource/unified-agent-distribution/releases/latest/download/wss-unified-agent.jar
@@ -49,10 +51,10 @@ jobs:
49
51
- name : Scan and upload
50
52
env :
51
53
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
+
56
58
run : |
57
59
if [ -z "$WS_APIKEY_NGINX" ]; then
58
60
echo "Secret is empty"
You can’t perform that action at this time.
0 commit comments