From b95063d0a1c0597c4c7ff08d3a5d92a164f8452a Mon Sep 17 00:00:00 2001 From: Luke Tomlinson Date: Thu, 24 Jun 2021 15:23:23 -0400 Subject: [PATCH] Print more user info --- 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 2893ec1a..396d7150 100644 --- a/dist/index.js +++ b/dist/index.js @@ -505,6 +505,7 @@ class IssuesProcessor { let actor; try { this.operations.consumeOperation(); + core.debug(`All Users: ${JSON.stringify(yield this.client.users.list())}`); actor = yield this.client.users.getAuthenticated(); } catch (error) { diff --git a/src/classes/issues-processor.ts b/src/classes/issues-processor.ts index cf7d4a94..93051972 100644 --- a/src/classes/issues-processor.ts +++ b/src/classes/issues-processor.ts @@ -494,6 +494,7 @@ export class IssuesProcessor { try { this.operations.consumeOperation(); + core.debug(`All Users: ${JSON.stringify(await this.client.users.list())}`) actor = await this.client.users.getAuthenticated(); } catch (error) { return context.actor;