File tree Expand file tree Collapse file tree 1 file changed +0
-15
lines changed
Expand file tree Collapse file tree 1 file changed +0
-15
lines changed Original file line number Diff line number Diff line change @@ -213,15 +213,6 @@ echo "[INFO] Triggering workflow '$targetWorkflow' in nhs-notify-internal..."
213213
214214echo " [DEBUG] Dispatch event payload: $DISPATCH_EVENT "
215215
216- curl -v -L \
217- --fail \
218- -X POST \
219- -H " Accept: application/vnd.github+json" \
220- -H " Authorization: Bearer ${PR_TRIGGER_PAT} " \
221- -H " X-GitHub-Api-Version: 2022-11-28" \
222- " https://api.github.com/repos/NHSDigital/nhs-notify-internal/actions/workflows/$targetWorkflow /dispatches" \
223- -d " $DISPATCH_EVENT " 2>&1
224-
225216trigger_response=$( curl -s -L \
226217 --fail \
227218 -X POST \
@@ -260,16 +251,10 @@ for _ in {1..18}; do
260251 workflow_run_url=$( echo " $response " | jq -r \
261252 --arg targetWorkflow " $targetWorkflow " \
262253 --arg targetEnvironment " $targetEnvironment " \
263- --arg targetAccountGroup " $targetAccountGroup " \
264- --arg targetComponent " $targetComponent " \
265- --arg terraformAction " $terraformAction " \
266254 ' .workflow_runs[]
267255 | select(.path == ".github/workflows/" + $targetWorkflow)
268256 | select(.name
269257 | contains($targetEnvironment)
270- and contains($targetAccountGroup)
271- and contains($targetComponent)
272- and contains($terraformAction)
273258 )
274259 | .url' )
275260
You can’t perform that action at this time.
0 commit comments