enhance: [skip e2e]to workaround the error "HOME not set" (#30047)

issue: #30046

to workaround the error "HOME not set"  happened in self hosted runner

solution from
https://alexanderhose.com/aws-codecommit-with-instance-role-and-user-data/

Signed-off-by: Sammy Huang <sammy.huang@zilliz.com>
This commit is contained in:
sammy.huang 2024-01-17 16:12:54 +08:00 committed by GitHub
parent 1152838a54
commit e7dc82d8cc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -57,8 +57,8 @@ jobs:
- name: commit code - name: commit code
run: | run: |
pwd pwd
git config --global user.email "sre-ci-robot@zilliz.com" git config --system user.email "sre-ci-robot@zilliz.com"
git config --global user.name "sre-ci-robot" git config --system user.name "sre-ci-robot"
git add -u git add -u
git diff-index --cached --quiet HEAD || (git commit -s -m 'Update all contributors' && git push) git diff-index --cached --quiet HEAD || (git commit -s -m 'Update all contributors' && git push)