From d31dd5e159a05163521f2d1ff1bb03a564cce5c0 Mon Sep 17 00:00:00 2001 From: claude_dev Date: Thu, 30 Jul 2026 21:16:38 +0800 Subject: [PATCH] =?UTF-8?q?fix(ci):=20=E6=B8=85=E9=99=A4git=E4=BB=A3?= =?UTF-8?q?=E7=90=86(LAN=20Gitea=E4=B8=8D=E8=B5=B0ClashX=207890)=E4=BF=AEc?= =?UTF-8?q?heckout=E5=A4=B1=E8=B4=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitea/workflows/ci-cd.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.gitea/workflows/ci-cd.yml b/.gitea/workflows/ci-cd.yml index c98c7a9..e31351b 100644 --- a/.gitea/workflows/ci-cd.yml +++ b/.gitea/workflows/ci-cd.yml @@ -12,6 +12,10 @@ jobs: test: runs-on: macos-arm64 steps: + - name: 清除 git 代理 (LAN Gitea 不走 ClashX 127.0.0.1:7890) + run: | + git config --global --unset http.proxy 2>/dev/null || true + git config --global --unset https.proxy 2>/dev/null || true - uses: actions/checkout@v4 - name: pytest (Mac venv310, fixture) run: | @@ -37,6 +41,10 @@ jobs: runs-on: macos-arm64 environment: prod # 人工审批 gate;删除此行 = 验证通过全自动推 VPS steps: + - name: 清除 git 代理 (LAN Gitea 不走 ClashX 127.0.0.1:7890) + run: | + git config --global --unset http.proxy 2>/dev/null || true + git config --global --unset https.proxy 2>/dev/null || true - uses: actions/checkout@v4 - name: promote 代码到 NAS+VPS run: bash scripts/nas_sync/promote.sh