mirror of
https://github.moeyy.xyz/https://github.com/GeWuYou/forgeboot
synced 2025-10-27 16:14:32 +08:00
ci:移除 git clone命令中的 --depth=1 参数
移除了 .gitlab/workflows/.gitlab-ci.main.yml 文件中 git clone 命令的 --depth=1 参数。 这个修改可能会影响管道机器人的运行时间,尤其是对于 large_run 测试。
This commit is contained in:
parent
210aad575b
commit
fa40833dfe
@ -122,7 +122,7 @@ mirror-to-github:
|
||||
- git config --global user.email "pipeline@${GITLAB_URL}"
|
||||
|
||||
- echo "🔄 正在 clone 当前 GitLab 仓库..."
|
||||
- git clone --depth=1 --branch main https://oauth2:${PIPELINE_BOT_TOKEN}@${GITLAB_URL}/${CI_PROJECT_PATH}.git repo
|
||||
- git clone --branch main https://oauth2:${PIPELINE_BOT_TOKEN}@${GITLAB_URL}/${CI_PROJECT_PATH}.git repo
|
||||
- cd repo
|
||||
|
||||
- echo "🔗 添加 GitHub 远程地址..."
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user