This commit is contained in:
Luke Tomlinson
2021-05-12 13:56:50 -04:00
parent ffc3c749f4
commit ab559aee86
2 changed files with 5 additions and 0 deletions

2
dist/index.js vendored
View File

@@ -411,8 +411,10 @@ class IssuesProcessor {
try {
this._operationsLeft -= 1;
actor = yield this.client.users.getAuthenticated();
this._logger.info('Actor is from client');
}
catch (error) {
this._logger.info('Actor is from context');
return github_1.context.actor;
}
return actor.data.login;