From 72350fe098b85a040351f49585185d37efffc138 Mon Sep 17 00:00:00 2001 From: Sammy Huang Date: Tue, 16 Jan 2024 22:44:22 +0800 Subject: [PATCH] enhance: to workaround the error "HOME not set" happened in self hosted runner Signed-off-by: Sammy Huang --- .github/workflows/all-contributors.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/all-contributors.yaml b/.github/workflows/all-contributors.yaml index b1e2641ae9f48..a57a6bc4c744b 100644 --- a/.github/workflows/all-contributors.yaml +++ b/.github/workflows/all-contributors.yaml @@ -57,8 +57,8 @@ jobs: - name: commit code run: | pwd - git config --global user.email "sre-ci-robot@zilliz.com" - git config --global user.name "sre-ci-robot" + git config --system user.email "sre-ci-robot@zilliz.com" + git config --system user.name "sre-ci-robot" git add -u git diff-index --cached --quiet HEAD || (git commit -s -m 'Update all contributors' && git push)