We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fb13c62 commit b760d88Copy full SHA for b760d88
.github/scripts/dispatch_internal_repo_workflow.sh
@@ -147,14 +147,11 @@ sleep 10 # Wait a few seconds before checking for the presence of the api to acc
147
workflow_run_url=""
148
149
for _ in {1..18}; do
150
-
151
- set -x
152
response=$(curl -s -L \
153
-H "Accept: application/vnd.github+json" \
154
-H "Authorization: Bearer ${PR_TRIGGER_PAT}" \
155
-H "X-GitHub-Api-Version: 2022-11-28" \
156
"https://api.github.com/repos/NHSDigital/nhs-notify-internal/actions/runs?event=workflow_dispatch")
157
- set +x
158
159
if ! echo "$response" | jq empty 2>/dev/null; then
160
echo "[ERROR] Invalid JSON response from GitHub API during workflow polling:"
0 commit comments