fix: 将 Gitea 配置迁移到 ~/.gitea/config.yaml 多账号配置体系
CI / test (pull_request) Successful in 20s

- 新增 _get_gitea_config.py 从 YAML 读取 URL/repo/token
- _common.sh 改为通过 eval python 脚本加载配置
- GITEA_CICD_SETUP.md / DEV_AGENT.md / QE_AGENT.md 更新文档
- CI 工作流改用 ${{ gitea.server_url }} / ${{ gitea.repository }}

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
2026-06-05 17:05:14 +08:00
parent 040d43d7f9
commit 29c2e3d3b0
14 changed files with 202 additions and 87 deletions
+3 -1
View File
@@ -12,7 +12,7 @@ jobs:
steps:
- name: Checkout code from Gitea
run: |
git clone --depth 1 https://git.zywl.me/pzhang_zywl/document_analyzer.git .
git clone --depth 1 ${{ gitea.server_url }}/${{ gitea.repository }}.git .
git fetch origin ${{ github.sha }}
git checkout ${{ github.sha }}
@@ -31,4 +31,6 @@ jobs:
--sha "${{ github.sha }}"
--branch "${{ github.ref_name }}"
--run "${{ github.run_number }}"
--gitea-url "${{ gitea.server_url }}"
--repo "${{ gitea.repository }}"
--message "${{ github.event.head_commit.message }}"