♻️ refactor(repo): 统一仓库最新提交获取接口并迁移文件提交日期逻辑

This commit is contained in:
webjoin111
2025-09-07 23:58:31 +08:00
parent e3d49c7105
commit c495c5d9b5
6 changed files with 63 additions and 18 deletions
+3
View File
@@ -40,6 +40,9 @@ RELEASE_SOURCE_FORMAT = (
GIT_API_COMMIT_FORMAT = "https://api.github.com/repos/{owner}/{repo}/commits/{branch}"
"""git api commit地址格式"""
GIT_API_COMMIT_LIST_FORMAT = "https://api.github.com/repos/{owner}/{repo}/commits"
"""git api 列出commits的地址格式"""
GIT_API_PROXY_COMMIT_FORMAT = (
"https://git-api.zhenxun.org/repos/{owner}/{repo}/commits/{branch}"
)