mirror of
https://github.com/actions/stale.git
synced 2025-12-30 20:08:19 +00:00
Print actor
This commit is contained in:
1
dist/index.js
vendored
1
dist/index.js
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user