Set runner group for runners with enterprise scope (#376)
* so far, runner group parameter is only set for runners with org scope * now set group for enterprise runners as well * removed null check for org scope as either org or enterprise will be set
This commit is contained in:
parent
dbda292f54
commit
8c0f3dfc79
|
|
@ -42,7 +42,7 @@ if [ -z "${RUNNER_TOKEN}" ]; then
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -z "${RUNNER_REPO}" ] && [ -n "${RUNNER_ORG}" ] && [ -n "${RUNNER_GROUP}" ];then
|
if [ -z "${RUNNER_REPO}" ] && [ -n "${RUNNER_GROUP}" ];then
|
||||||
RUNNER_GROUP_ARG="--runnergroup ${RUNNER_GROUP}"
|
RUNNER_GROUP_ARG="--runnergroup ${RUNNER_GROUP}"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue