diff --git a/scripts/goalie-labels.js b/scripts/goalie-labels.js index 731bd7819a..a6f9202713 100644 --- a/scripts/goalie-labels.js +++ b/scripts/goalie-labels.js @@ -102,7 +102,7 @@ module.exports = async ({ github, context, core }) => { // if the last event for the issue is not by the author, remove the label if ( recentEventsForPR[recentEventsForPR.length - 1].actor.login !== - pullRequest.author.login + pullRequest.user.login ) { await github.rest.issues .removeLabel({