File tree Expand file tree Collapse file tree 1 file changed +11
-2
lines changed
Expand file tree Collapse file tree 1 file changed +11
-2
lines changed Original file line number Diff line number Diff line change 3232# --overrideProjectName nhs \
3333# --overrideRoleName nhs-service-iam-role
3434
35- set -e
35+ # set -e
3636
3737while [[ $# -gt 0 ]]; do
3838 case $1 in
@@ -279,9 +279,18 @@ echo "[INFO] Triggering workflow '$targetWorkflow' in nhs-notify-internal..."
279279
280280echo " [DEBUG] Dispatch event payload: $DISPATCH_EVENT "
281281
282- trigger_response= $( curl -s -L \
282+ echo " curl -s -L \
283283 --fail \
284284 -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 \
285294 -H " Accept: application/vnd.github+json" \
286295 -H " Authorization: Bearer ${PR_TRIGGER_PAT} " \
287296 -H " X-GitHub-Api-Version: 2022-11-28" \
You can’t perform that action at this time.
0 commit comments