mirror of
https://github.com/tiennm99/awesome-ai-dev-tools.git
synced 2026-10-13 22:15:18 +00:00
feat: let agents.yml override the GitHub repo description
This commit is contained in:
1 parent
14a013a151
commit
ebe7bce900
7 files changed
+88
-3
No files matched your search
@@ -140,13 +140,18 @@ func fetchStats(token string, agents []Agent) ([]Stat, error) {
|
||||
fmt.Printf("::warning::repo %s has no push in %d days — review against the maintenance criterion\n", canonicalKey, days)
|
||||
}
|
||||
|
||||
desc := node.Description
|
||||
if a.Description != "" {
|
||||
desc = a.Description
|
||||
}
|
||||
|
||||
stats = append(stats, Stat{
|
||||
CanonicalKey: canonicalKey,
|
||||
Owner: a.Owner,
|
||||
Repo: a.Repo,
|
||||
Tags: a.Tags,
|
||||
Notes: a.Notes,
|
||||
Description: node.Description,
|
||||
Description: desc,
|
||||
Stars: node.StargazerCount,
|
||||
Language: lang,
|
||||
PushedAt: node.PushedAt,
|
||||
|
||||
Reference in new issue
Block a user