Skip to content

Commit 76ae5a4

Browse files
committed
chore: Add GitHub repository configuration script
1 parent 2d22de8 commit 76ae5a4

1 file changed

Lines changed: 54 additions & 0 deletions

File tree

UPDATE-GITHUB-ABOUT.sh

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
#!/bin/bash
2+
# GitHub 仓库 About 和 Topics 更新脚本
3+
4+
set -e
5+
6+
REPO="yadinae/agent-evolution"
7+
8+
echo "🔄 更新 GitHub 仓库配置..."
9+
10+
# 检查 gh 是否安装
11+
if ! command -v gh &> /dev/null; then
12+
echo "❌ GitHub CLI 未安装,请先安装:sudo apt install gh 或 brew install gh"
13+
exit 1
14+
fi
15+
16+
# 检查是否已登录
17+
if ! gh auth status &> /dev/null; then
18+
echo "❌ 未登录 GitHub,请先登录:gh auth login"
19+
exit 1
20+
fi
21+
22+
# 更新仓库描述
23+
echo "📝 更新仓库描述..."
24+
gh repo edit "$REPO" \
25+
--description "🧬 Agent 自我进化系统 - 基于数据驱动的 AI Agent 能力提升平台 | ✨ 任务监控/技能评估/智能调度/自动进化 | 📊 95%+ 测试覆盖,<20ms 延迟"
26+
27+
# 添加 Topics
28+
echo "🏷️ 添加 Topics..."
29+
TOPICS=(
30+
"ai-agent"
31+
"self-improvement"
32+
"machine-learning"
33+
"automation"
34+
"performance-monitoring"
35+
"skill-evaluation"
36+
"intelligent-scheduling"
37+
"data-driven"
38+
"python"
39+
"open-source"
40+
"agent-evolution"
41+
"ai-optimization"
42+
)
43+
44+
for topic in "${TOPICS[@]}"; do
45+
echo " 添加:$topic"
46+
gh repo edit "$REPO" --add-topic "$topic"
47+
done
48+
49+
echo ""
50+
echo "✅ GitHub 仓库配置更新完成!"
51+
echo ""
52+
echo "📋 仓库地址:https://github.com/$REPO"
53+
echo "🏷️ Topics: ${TOPICS[*]}"
54+
echo ""

0 commit comments

Comments
 (0)