-
Notifications
You must be signed in to change notification settings - Fork 0
38 lines (32 loc) · 994 Bytes
/
Copy pathtech-graph-contract.yml
File metadata and controls
38 lines (32 loc) · 994 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
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