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 ef18c39 commit f588be1Copy full SHA for f588be1
utils/webassembly/distribute-latest-toolchain.sh
@@ -23,7 +23,7 @@ github() {
23
curl --header "authorization: Bearer $GITHUB_TOKEN" "$@"
24
}
25
26
-latest_run=$(github "${gh_api}/repos/${repository}/actions/workflows/${workflow_name}/runs?head_branch=${branch}&status=success" \
+latest_run=$(github "${gh_api}/repos/${repository}/actions/workflows/${workflow_name}/runs?branch=${branch}&status=success" \
27
| jq ".workflow_runs | map(select(.head_branch == \"$branch\")) | sort_by(.run_number) | last")
28
29
if [ -z "$latest_run" ] || [ "$latest_run" == "null" ]; then
0 commit comments