mirror of
https://github.com/actions/stale.git
synced 2025-12-20 06:42:15 +00:00
update
This commit is contained in:
2
dist/index.js
vendored
2
dist/index.js
vendored
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user