Bot Architecture
January 18, 2021 ยท View on GitHub
Structure:
/src/tasks/processIssueCommentis the root for incoming comments with the following sub components:CommentReply, deals with responding to a commentContentFiles, or readmes files that will be re-generated and updated with the tableOptionsConfig, the configuration for the bot, and the list of contributionsRepository, used by ContentFiles and OptionsConfig for getting files, updating files, creating branches and pull requestsutils/parse-commentused for determining the intention of the users comment
Uses Probot for incoming events, and communicating/authenticating with github. Probot docs, GitHub octokit/restjs API docs