From 8c0f3dfc79165b309a1f090352b19e09266e48a4 Mon Sep 17 00:00:00 2001 From: Johannes Nicolai Date: Mon, 8 Mar 2021 01:18:23 +0100 Subject: [PATCH] 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 --- runner/entrypoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runner/entrypoint.sh b/runner/entrypoint.sh index cdbcc673..27c71305 100755 --- a/runner/entrypoint.sh +++ b/runner/entrypoint.sh @@ -42,7 +42,7 @@ if [ -z "${RUNNER_TOKEN}" ]; then exit 1 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}" fi