Skip to content

Commit 3c3e08a

Browse files
committed
CCM-11938: try
1 parent 7f8df2a commit 3c3e08a

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

.github/scripts/dispatch_internal_repo_workflow.sh

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ if [[ -z "$internalRef" ]]; then
110110
fi
111111

112112
if [[ -z "$runId" ]]; then
113-
runId="$GITHUB_RUN_ID"
113+
runId=""
114114
fi
115115

116116
if [[ -z "$buildSandbox" ]]; then
@@ -167,6 +167,15 @@ DISPATCH_EVENT=$(jq -ncM \
167167

168168
echo "[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+
170179
trigger_response=$(curl -s -L \
171180
--fail \
172181
-X POST \

.github/workflows/manual-proxy-environment-deploy.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ on:
99
type: choice
1010
options:
1111
- internal-dev
12-
1312

1413
permissions:
1514
contents: read

0 commit comments

Comments
 (0)