diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 01063289d5..1e10e9c8b3 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -43,9 +43,9 @@ auto_update: script: # setup git - apk add git - - git config user.name "${GITLAB_USER_NAME}" - - git config user.email "${GITLAB_USER_EMAIL}" - - git remote set-url origin "${CI_MERGE_REQUEST_SOURCE_PROJECT_URL}" + - git config user.name 'GitLab CI' + - git config user.email 'noreply@firefish.dev' + - git remote set-url origin "https://gitlab-ci-token:${CI_JOB_TOKEN}@firefish.dev/${CI_MERGE_REQUEST_PROJECT_PATH}" - git fetch origin - git switch "${CI_MERGE_REQUEST_SOURCE_BRANCH_NAME}" # update pnpm lockfile