Commit c599801 1 parent fb637bb commit c599801 Copy full SHA for c599801
File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -261,8 +261,8 @@ function mr::addRunner {
261
261
local user=" $1 " enterprise=" $2 " org=" $3 " repo=" $4 " token=" $5 " extraLabels=" $6 " group=" ${7:- default} " dotenv=" $8 " tarpath=' '
262
262
str::allVarsNotEmpty enterprise org || return $?
263
263
264
- tarpath=" $( mr::downloadRunner) " || return $?
265
264
[[ -z " $token " ]] && { token=" $( mr::pat2token " $enterprise " " $org " " $repo " ) " || return $? ; }
265
+ tarpath=" $( mr::downloadRunner) " || return $?
266
266
user=" $( mr::addUser " $user " ) " || return $?
267
267
268
268
local name=" $user @$HOSTNAME "
@@ -276,10 +276,10 @@ function mr::addRunner {
276
276
url=" $MR_GITHUB_BASEURL /enterprises/$enterprise "
277
277
labels=" $labels ,$enterprise "
278
278
elif [[ -z " $repo " ]]; then
279
- url=" $MR_GITHUB_BASEURL /orgs/ $org "
279
+ url=" $MR_GITHUB_BASEURL /$org "
280
280
labels=" $labels ,$org "
281
281
else
282
- url=" $MR_GITHUB_BASEURL /repos/ $org /$repo "
282
+ url=" $MR_GITHUB_BASEURL /$org /$repo "
283
283
labels=" $labels ,$org /$repo "
284
284
fi
285
285
You can’t perform that action at this time.
0 commit comments