We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent df6ec8d commit 1ef2fe5Copy full SHA for 1ef2fe5
1 file changed
.github/scripts/dispatch_internal_repo_workflow.sh
@@ -32,7 +32,7 @@
32
# --overrideProjectName nhs \
33
# --overrideRoleName nhs-service-iam-role
34
35
-#set -e
+set -e
36
37
while [[ $# -gt 0 ]]; do
38
case $1 in
@@ -279,15 +279,6 @@ echo "[INFO] Triggering workflow '$targetWorkflow' in nhs-notify-internal..."
279
280
echo "[DEBUG] Dispatch event payload: $DISPATCH_EVENT"
281
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
-
291
trigger_response=$(curl -s -L \
292
--fail-with-body \
293
-X POST \
0 commit comments