docs(tasks): 移除 P3+P4 active 重复副本并同步索引 #392
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: tech-graph-contract | |
| on: | |
| pull_request: | |
| push: | |
| branches: | |
| - main | |
| - agent-v3 | |
| jobs: | |
| contract_check: | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 8 | |
| steps: | |
| # Checkout backend (this repo) into a fixed folder | |
| - name: Checkout backend | |
| uses: actions/checkout@v5 | |
| with: | |
| path: ai-ink-brain-api-python | |
| # Checkout frontend repo as sibling folder so ../ai-ink-brain/... paths resolve | |
| - name: Checkout frontend | |
| uses: actions/checkout@v5 | |
| with: | |
| repository: Cyning12/ai-ink-brain | |
| # 默认校验 production 分支(与线上一致);如需改为 main,替换为 ref: main | |
| ref: production | |
| path: ai-ink-brain | |
| - name: Setup Python | |
| uses: actions/setup-python@v6 | |
| with: | |
| python-version: "3.11" | |
| - name: Cross-repo contract check | |
| working-directory: ai-ink-brain-api-python | |
| run: python tools/tech_graph_contract_check.py | |