We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2105065 commit 2559ad4Copy full SHA for 2559ad4
.github/workflows/mend.yml
@@ -16,6 +16,8 @@ on:
16
workflow_call:
17
secrets:
18
WS_APIKEY_NGINX:
19
+ required: true
20
+ WS_USER_KEY:
21
required: true
22
inputs:
23
product_name:
@@ -59,6 +61,7 @@ jobs:
59
61
WS_GENERATESCANREPORT: true
60
62
WS_FORCEUPDATE: true
63
WS_FORCEUPDATE_FAILBUILDONPOLICYVIOLATION: true
64
+ WS_USER_KEY: ${{ secrets.WS_USER_KEY }}
65
66
run: |
67
if [ -z "$WS_APIKEY_NGINX" ]; then
@@ -70,7 +73,7 @@ jobs:
70
73
java -jar wss-unified-agent.jar -noConfig true -wss.url $WS_URL -apiKey $WS_APIKEY_NGINX -product $PRODUCT_NAME -project $PROJECT_NAME -d ./
71
74
exit_code=$?
72
75
- echo -e "\nEXIT CODE is - $exit_code\n"
76
+ echo -e "\nEXIT CODE is: $exit_code\n"
77
if (( exit_code == 254 )); then
78
exit 254
79
else
0 commit comments