diff --git a/.gitea/workflows/code-review.yml b/.gitea/workflows/code-review.yml index c835a1be8..23f3c1eb0 100644 --- a/.gitea/workflows/code-review.yml +++ b/.gitea/workflows/code-review.yml @@ -25,15 +25,10 @@ jobs: with: fetch-depth: 0 - - name: Setup Python - uses: actions/setup-python@v4 - with: - python-version: "3.11" - - name: Install dependencies run: | - python -m pip install --upgrade pip - pip install requests + python3 -m pip install --upgrade pip + python3 -m pip install requests - name: Run AI Code Review env: @@ -53,6 +48,6 @@ jobs: MAX_DIFF_CHARS: "30000" LLM_TIMEOUT: "120" run: | - python scripts/ci_code_review.py + python3 scripts/ci_code_review.py # 审查脚本异常不影响 CI 通过 continue-on-error: true