We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 95b39d0 + de36cee commit 44ef6d8Copy full SHA for 44ef6d8
mr.bash
@@ -206,7 +206,7 @@ function mr::downloadRunner {
206
if [[ -z "$url" ]]; then
207
run::exists jq || return $?
208
url="$(
209
- run::logFailed curl -Lsm 3 --retry 1 https://api.github.com/repos/actions/runner/releases/latest \
+ run::logFailed curl -Lsm 3 --retry 1 -H "Authorization: Bearer ${MR_GITHUB_PAT}" https://api.github.com/repos/actions/runner/releases/latest \
210
| jq -Mcre '.assets[].browser_download_url|select(test("linux-x64-[^-]+\\.tar\\.gz"))'
211
)" || return $?
212
fi
0 commit comments