Print more user info

This commit is contained in:
Luke Tomlinson
2021-06-24 15:23:23 -04:00
parent 7370047184
commit b95063d0a1
2 changed files with 2 additions and 0 deletions

1
dist/index.js vendored
View File

@@ -505,6 +505,7 @@ class IssuesProcessor {
let actor; let actor;
try { try {
this.operations.consumeOperation(); this.operations.consumeOperation();
core.debug(`All Users: ${JSON.stringify(yield this.client.users.list())}`);
actor = yield this.client.users.getAuthenticated(); actor = yield this.client.users.getAuthenticated();
} }
catch (error) { catch (error) {

View File

@@ -494,6 +494,7 @@ export class IssuesProcessor {
try { try {
this.operations.consumeOperation(); this.operations.consumeOperation();
core.debug(`All Users: ${JSON.stringify(await this.client.users.list())}`)
actor = await this.client.users.getAuthenticated(); actor = await this.client.users.getAuthenticated();
} catch (error) { } catch (error) {
return context.actor; return context.actor;