Skip to content

Commit 46fa799

Browse files
debug logging
1 parent 51ad295 commit 46fa799

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

.github/scripts/dispatch_internal_repo_workflow.sh

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -279,6 +279,15 @@ echo "[INFO] Triggering workflow '$targetWorkflow' in nhs-notify-internal..."
279279

280280
echo "[DEBUG] Dispatch event payload: $DISPATCH_EVENT"
281281

282+
echo " curl -s -L \
283+
--fail \
284+
-X POST \
285+
-H \"Accept: application/vnd.github+json\" \
286+
-H \"Authorization: Bearer ${PR_TRIGGER_PAT}\" \
287+
-H \"X-GitHub-Api-Version: 2022-11-28\" \
288+
\"https://api.github.com/repos/NHSDigital/nhs-notify-internal/actions/workflows/$targetWorkflow/dispatches\" \
289+
-d \"$DISPATCH_EVENT\""
290+
282291
trigger_response=$(curl -s -L \
283292
--fail \
284293
-X POST \

0 commit comments

Comments
 (0)