Change requested team back to slug
'@conda-forge/help-ruby'
];
let found_label = false;
- console.log('Issue number:');
- console.log(context.issue.number);
for (const team of teams) {
let text = context.payload.comment.body;
const regex = new RegExp(team + '[^\-]|' + team + '$');
owner: context.repo.owner,
repo: context.repo.repo,
pull_number: context.issue.number,
- team_reviewers: [team.replace("@", "")],
+ team_reviewers: [slug],
});
requestReviewersPromise.then(response => {
console.log(response);
