From 7b24c9944936f2a67a114508eef2a15502e4f915 Mon Sep 17 00:00:00 2001 From: n3t1zen Date: Mon, 4 May 2026 14:19:11 +0800 Subject: [PATCH] fix git user profile in ci --- bin/update | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bin/update b/bin/update index 6c494a7..f04547e 100755 --- a/bin/update +++ b/bin/update @@ -9,6 +9,8 @@ REV_FILE="$ROOT/works/rev" # defaults REPO_URL="git@git.inker.bot:arknights/sing-box.git" if [ ! -z "$CI_JOB_TOKEN" ]; then + git config --global user.name imabot + git config --global user.email ci@inker.bot git config --global url."https://gitlab-ci-token:${CI_JOB_TOKEN}@git.inker.bot/".insteadOf "git@git.inker.bot:" fi UPSTREAM_BRANCH="main"