07:30:12.168Z ERROR event: Cannot read property 'length' of undefined (id=....)
TypeError: Cannot read property 'length' of undefined
at Object.chooseUsers (/app/lib/util.js:9:20)
at /app/lib/handler.js:57:40
at step (/app/lib/handler.js:32:23)
at Object.next (/app/lib/handler.js:13:53)
at fulfilled (/app/lib/handler.js:4:58)
at process._tickCallback (internal/process/next_tick.js:68:7)
--
event: {
"event": "pull_request.opened",
"id": "....",
"repository": "..."
}
# Set to true to add reviewers to pull requests
addReviewers: true
# Set to true to add assignees to pull requests
addAssignees: false
# A number of reviewers added to the pull request
# Set 0 to add all the reviewers (default: 0)
numberOfReviewers: 3
# Set to true to add reviewers from different groups to pull requests
useReviewGroups: false
reviewers:
- userA
- userB
- userC
# Set to true to add assignees from different groups to pull requests
useAssigneeGroups: false