Remove staged-recipes from label
let result = regex.test(text);
if (result) {
label = team.replace("@conda-forge/help-", "");
+ label_no_staged = label.replace("@conda-forge/", "");
github.rest.issues.addLabels({
issue_number: context.issue.number,
owner: context.repo.owner,
repo: context.repo.repo,
- labels: [label, 'review-requested']
+ labels: [label_no_staged, 'review-requested']
})
github.rest.issues.removeLabel({
issue_number: context.issue.number,
