Conversation
Owner
Author
|
@yugasun 老铁看下大体上没毛病吧,现在就差测试用例和文档说明了。 |
Open
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
先不要合并。
name字段,标识当前功能模块对应的配置名称,如:name: issue/autoLabel表示对应了配置文件里的issue.autoLabel,当然也在想配置里是不是也直接写这个 key 而不是多套一级,如:pullRequest/autoReviewRequest和pullRequest.autoReviewRequest的区别name排列,并循环所有的package.json配置开启的功能,去注册事件,注册时以空间名/仓库名@事件名,这样在触发时就可以无条件触发了,因为是以仓库为粒度了上面对应了:
事件回调参数说明:
github-bot/src/app.js
Lines 35 to 38 in 4bdb7b5
pkg.config.github-bot.username/repo,via:github-bot/src/app.js
Lines 69 to 72 in 4bdb7b5
pkg.config.github-bot.username/repo.pullRequest.autoReviewRequest