Use Github API for Commit History for Tagged Release
wei opened this issue · 2 comments
wei commented
node version: Irrelevant
In the effort to be most efficient in gathering commit history information when new tags are created, instead of pulling down repos locally and running local git commands, github-bot should use publically available Github APIs for
- Fetching a list of tags: https://api.github.com/repos/xuexb/github-bot/tags
- Pull a list of commit history between two tags: https://api.github.com/repos/xuexb/github-bot/compare/v0.1.11...v0.1.12
That way, the github-bot doesn't have to worry about a local copy for each repo it services at the same time conserving bandwidth, disk space and other resources.
jiandansousuo-bot commented
wei commented
感觉不会再爱了 😢