mirror of
https://github.com/empayre/fleet.git
synced 2024-11-06 08:55:24 +00:00
Remove accidental escalation of approval requests (#12911)
This fix reduces the extra approval requests that started appearing recently for stuff like /imagine pages
This commit is contained in:
parent
36ffc63755
commit
e591744b32
@ -361,6 +361,7 @@ module.exports = {
|
||||
if (isAuthorAncestralDRI || isSenderAncestralDRI) {
|
||||
// For the same reasons as above, if the original PR author or you (current author/editor)
|
||||
// are the editor, then we do nothing.
|
||||
break;
|
||||
} else if (nearestAncestralDri) {// Otherwise, if we have our DRI, we can stop here.
|
||||
reviewer = nearestAncestralDri;
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user