Skip to content

Commit

Permalink
fix: review_requested remove label needsReview when REQUEST_CHANGES w…
Browse files Browse the repository at this point in the history
…as done by the newly requested reviewer
  • Loading branch information
christophehurpeau committed Sep 12, 2018
1 parent 46c0f3c commit c080e9e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion lib/index.js
Expand Up @@ -68,7 +68,10 @@ module.exports = (app) => {
shouldWait ? 'needsReview' : 'requested'
],
],
remove: [config.labels.review[reviewerGroup].approved],
remove: [
config.labels.review[reviewerGroup].approved,
config.labels.review[reviewerGroup].changesRequested,
],
});
}
}
Expand Down

0 comments on commit c080e9e

Please sign in to comment.