fix(ci): bypass proxy for runner checkout
Runner Canary / runner-canary (push) Successful in 0s

This commit is contained in:
TJWater CI
2026-08-11 10:01:21 +08:00
parent be1654e8b5
commit 4b941c0888
+5 -1
View File
@@ -53,7 +53,11 @@ jobs:
runs-on: ubuntu-22.04
steps:
- name: Configure Git transport
run: git config --global http.version HTTP/1.1
run: |
git config --global http.version HTTP/1.1
# Runner 与 Gitea 同处内网。绕过公网 Nginx 的 Git pack 转发,避免
# 大仓库检出时 TLS 流被中断;对外访问仍使用 ROOT_URL。
git config --global url."http://192.168.1.112:3333/".insteadOf "https://gitea.waternetwork.cn/"
- uses: https://gitea.waternetwork.cn/actions/checkout@v4
with:
fetch-depth: 1