Skip to content

Commit 0737940

Browse files
committed
CCM-11938: try
1 parent d64a687 commit 0737940

File tree

1 file changed

+0
-15
lines changed

1 file changed

+0
-15
lines changed

.github/scripts/dispatch_internal_repo_workflow.sh

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -213,15 +213,6 @@ echo "[INFO] Triggering workflow '$targetWorkflow' in nhs-notify-internal..."
213213

214214
echo "[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-
225216
trigger_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

0 commit comments

Comments
 (0)