File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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 " "
You can’t perform that action at this time.
0 commit comments