From 7370047184446ee7500d4be8a658d3c6e855dacd Mon Sep 17 00:00:00 2001 From: Luke Tomlinson Date: Thu, 24 Jun 2021 14:09:38 -0400 Subject: [PATCH] Print actor --- dist/index.js | 1 + src/classes/issues-processor.ts | 1 + 2 files changed, 2 insertions(+) diff --git a/dist/index.js b/dist/index.js index ae2ec63f..2893ec1a 100644 --- a/dist/index.js +++ b/dist/index.js @@ -623,6 +623,7 @@ class IssuesProcessor { } // find any comments since the date const comments = yield this.listIssueComments(issue.number, sinceDate); + core.debug(`The actor is: ${actor}`); const filteredComments = comments.filter(comment => comment.user.type === 'User' && comment.user.login !== actor); issueLogger.info(`Comments not made by actor or another bot: ${logger_service_1.LoggerService.cyan(filteredComments.length)}`); // if there are any user comments returned diff --git a/src/classes/issues-processor.ts b/src/classes/issues-processor.ts index 07e995a5..cf7d4a94 100644 --- a/src/classes/issues-processor.ts +++ b/src/classes/issues-processor.ts @@ -687,6 +687,7 @@ export class IssuesProcessor { // find any comments since the date const comments = await this.listIssueComments(issue.number, sinceDate); + core.debug(`The actor is: ${actor}`) const filteredComments = comments.filter( comment => comment.user.type === 'User' && comment.user.login !== actor );