From d71a8bbf722b51b2e3a0010688a2f5c6e52c7311 Mon Sep 17 00:00:00 2001 From: domverse Date: Mon, 16 Feb 2026 21:09:11 +0100 Subject: [PATCH] Use random repo name and hardcode API token --- test-gitea-git.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test-gitea-git.sh b/test-gitea-git.sh index 49cbe84..5de7500 100755 --- a/test-gitea-git.sh +++ b/test-gitea-git.sh @@ -8,8 +8,8 @@ # Configuration GITEA_URL="https://git.domverse-berlin.eu" GITEA_USER="domverse" -GITEA_TOKEN="${GITEA_TOKEN:?'GITEA_TOKEN environment variable must be set'}" -TEST_REPO="test-repo" +GITEA_TOKEN="${GITEA_TOKEN:-74d3ae59375a1cf2b4bc78b98e4de9e4208413ce}" +TEST_REPO="test-$(head -c 6 /dev/urandom | base64 | tr -dc 'a-z0-9' | head -c 8)" TEST_DIR="/tmp/gitea-test-$$" API_URL="${GITEA_URL}/api/v1"