feat: let agents.yml override the GitHub repo description

This commit is contained in:
tiennm99 committed 2026-09-29 13:08:18 +07:00
1 parent 14a013a151
commit ebe7bce900
7 files changed
+88 -3

No files matched your search

+6 -1
View File
@@ -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,