- 新增 _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:
@@ -23,7 +23,7 @@ jobs:
|
||||
steps:
|
||||
- name: Checkout main branch
|
||||
run: |
|
||||
git clone --depth 1 https://git.zywl.me/zeekrAI/document_analyzer.git .
|
||||
git clone --depth 1 ${{ gitea.server_url }}/${{ gitea.repository }}.git .
|
||||
git checkout main
|
||||
|
||||
- name: Install dependencies
|
||||
@@ -57,6 +57,8 @@ jobs:
|
||||
python scripts/create_failure_issue.py \
|
||||
--sha "${{ github.sha }}" --branch "main" \
|
||||
--run "${{ github.run_number }}" \
|
||||
--gitea-url "${{ gitea.server_url }}" \
|
||||
--repo "${{ gitea.repository }}" \
|
||||
--message "QE Acceptance: ${SUMMARY:-pipeline failed}" \
|
||||
--workflow "QE Acceptance" \
|
||||
--labels "acceptance-failure,agent-task"
|
||||
|
||||
Reference in New Issue
Block a user