Skip to content

Commit 1ef2fe5

Browse files
remove debug logging
1 parent df6ec8d commit 1ef2fe5

1 file changed

Lines changed: 1 addition & 10 deletions

File tree

.github/scripts/dispatch_internal_repo_workflow.sh

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
# --overrideProjectName nhs \
3333
# --overrideRoleName nhs-service-iam-role
3434

35-
#set -e
35+
set -e
3636

3737
while [[ $# -gt 0 ]]; do
3838
case $1 in
@@ -279,15 +279,6 @@ 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-
291282
trigger_response=$(curl -s -L \
292283
--fail-with-body \
293284
-X POST \

0 commit comments

Comments
 (0)