From ab505fa43cfee00ec731066999f34320b03770f3 Mon Sep 17 00:00:00 2001 From: Geoff Bourne Date: Sat, 4 Jul 2026 23:17:54 -0500 Subject: [PATCH] Pass GH_TOKEN to containers started during tests (#4136) --- tests/setuponlytests/test.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/setuponlytests/test.sh b/tests/setuponlytests/test.sh index 4c759e79..b776cd82 100755 --- a/tests/setuponlytests/test.sh +++ b/tests/setuponlytests/test.sh @@ -46,7 +46,7 @@ setupOnlyMinecraftTest(){ start=$(date +%s) status=PASSED verify= - if ! logs=$(docker compose run --rm -e SETUP_ONLY=true -e DEBUG="${DEBUG:-false}" mc 2>&1); then + if ! logs=$(docker compose run --rm -e SETUP_ONLY=true -e DEBUG="${DEBUG:-false}" -e GH_TOKEN="${GH_TOKEN:-}" mc 2>&1); then status=FAILED outputContainerLog "$logs" result=1