mirror of
https://github.com/actions/stale.git
synced 2025-12-16 00:16:47 +00:00
Print more user info
This commit is contained in:
1
dist/index.js
vendored
1
dist/index.js
vendored
@@ -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) {
|
||||||
|
|||||||
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user