chore: pull.user not pull.author

Signed-off-by: blam <ben@blam.sh>
This commit is contained in:
blam
2022-01-19 12:57:25 +01:00
parent 17eabeb6ad
commit b2313e2329
+1 -1
View File
@@ -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({