Skip to content

Commit 7c1138a

Browse files
committed
chore: code review
1 parent 26a43ae commit 7c1138a

File tree

2 files changed

+20
-0
lines changed

2 files changed

+20
-0
lines changed
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: AI Code Review
2+
3+
# 触发条件:当有新的Pull Request创建时
4+
on: [pull_request]
5+
6+
jobs:
7+
# 定义一个名为 “review” 的任务
8+
review:
9+
# 任务在最新版的Ubuntu系统上运行
10+
runs-on: ubuntu-latest
11+
12+
steps:
13+
# 第一步:获取你的代码
14+
- name: Checkout repository code
15+
uses: actions/checkout@v4
16+
17+
# 第二步:打印一条信息,证明工作流成功运行了
18+
- name: Say Hello (Placeholder for AI)
19+
run: echo "🎉 AI代码审查流程已触发!这里未来将集成真正的AI服务。"

YCode.CLI/Program.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@
3939
}
4040
};
4141

42+
4243
// Agent类型到图标和颜色的映射
4344
var AGENT_ICONS = new Dictionary<string, (string icon, string color)>()
4445
{

0 commit comments

Comments
 (0)