Skip to content

Commit 2559ad4

Browse files
committed
Changes related to compliance scan for Mend
1 parent 2105065 commit 2559ad4

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/mend.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ on:
1616
workflow_call:
1717
secrets:
1818
WS_APIKEY_NGINX:
19+
required: true
20+
WS_USER_KEY:
1921
required: true
2022
inputs:
2123
product_name:
@@ -59,6 +61,7 @@ jobs:
5961
WS_GENERATESCANREPORT: true
6062
WS_FORCEUPDATE: true
6163
WS_FORCEUPDATE_FAILBUILDONPOLICYVIOLATION: true
64+
WS_USER_KEY: ${{ secrets.WS_USER_KEY }}
6265

6366
run: |
6467
if [ -z "$WS_APIKEY_NGINX" ]; then
@@ -70,7 +73,7 @@ jobs:
7073
java -jar wss-unified-agent.jar -noConfig true -wss.url $WS_URL -apiKey $WS_APIKEY_NGINX -product $PRODUCT_NAME -project $PROJECT_NAME -d ./
7174
exit_code=$?
7275
73-
echo -e "\nEXIT CODE is - $exit_code\n"
76+
echo -e "\nEXIT CODE is: $exit_code\n"
7477
if (( exit_code == 254 )); then
7578
exit 254
7679
else

0 commit comments

Comments
 (0)