File tree Expand file tree Collapse file tree 2 files changed +10
-2
lines changed
Expand file tree Collapse file tree 2 files changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -110,7 +110,7 @@ if [[ -z "$internalRef" ]]; then
110110fi
111111
112112if [[ -z " $runId " ]]; then
113- runId=" $GITHUB_RUN_ID "
113+ runId=" "
114114fi
115115
116116if [[ -z " $buildSandbox " ]]; then
@@ -167,6 +167,15 @@ DISPATCH_EVENT=$(jq -ncM \
167167
168168echo " [INFO] Triggering workflow '$targetWorkflow ' in nhs-notify-internal..."
169169
170+ curl -v -L \
171+ --fail \
172+ -X POST \
173+ -H " Accept: application/vnd.github+json" \
174+ -H " Authorization: Bearer ${PR_TRIGGER_PAT} " \
175+ -H " X-GitHub-Api-Version: 2022-11-28" \
176+ " https://api.github.com/repos/NHSDigital/nhs-notify-internal/actions/workflows/$targetWorkflow /dispatches" \
177+ -d " $DISPATCH_EVENT " 2>&1
178+
170179trigger_response=$( curl -s -L \
171180 --fail \
172181 -X POST \
Original file line number Diff line number Diff line change 99 type : choice
1010 options :
1111 - internal-dev
12-
1312
1413permissions :
1514 contents : read
You can’t perform that action at this time.
0 commit comments