Skip to content

Commit 99c7b98

Browse files
CCM-11942 Updating script with debug info
1 parent e63bf71 commit 99c7b98

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/scripts/dispatch_internal_repo_workflow.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ DISPATCH_EVENT=$(jq -ncM \
132132

133133
echo "[INFO] Triggering workflow '$targetWorkflow' in nhs-notify-internal..."
134134

135-
trigger_response=$(curl -L \
135+
trigger_response=$(curl -s-L \
136136
--fail \
137137
--silent \
138138
-X POST \
@@ -174,7 +174,7 @@ WORKFLOW_RUN_EVENT=$(jq -r \
174174
echo "[INFO] Checking for workflow run $WORKFLOW_RUN_EVENT"
175175

176176
for _ in {1..18}; do
177-
workflow_run_url=$(curl -L \
177+
workflow_run_url=$(curl -s -L \
178178
-H "Accept: application/vnd.github+json" \
179179
-H "Authorization: Bearer ${PR_TRIGGER_PAT}" \
180180
-H "X-GitHub-Api-Version: 2022-11-28" \
@@ -202,7 +202,7 @@ fi
202202
# Wait for workflow completion
203203
while true; do
204204
sleep 10
205-
response=$(curl -L \
205+
response=$(curl -s -L \
206206
-H "Authorization: Bearer ${PR_TRIGGER_PAT}" \
207207
-H "Accept: application/vnd.github+json" \
208208
"$workflow_run_url")

0 commit comments

Comments
 (0)