From 3e1dc849d2f5acf1b40ec1528333d9e1faff9464 Mon Sep 17 00:00:00 2001 From: Wassim Metallaoui Date: Tue, 4 Jun 2024 15:59:21 -0500 Subject: [PATCH] fix: only console.log used attributes The PR output was massive and not so helpful. Let's just output the attributes we use in our logic. --- src/action.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/action.js b/src/action.js index 0c640d1..d94fefe 100644 --- a/src/action.js +++ b/src/action.js @@ -15,7 +15,8 @@ async function run() { const assignees = pr.assignees const author = pr.user - console.log(`pr: ${JSON.stringify(pr, undefined, 2)}`) + console.log(`assignees: ${JSON.stringify(assignees, undefined, 2)}`) + console.log(`author: ${JSON.stringify(author, undefined, 2)}`) if ( (!assignees || assignees.length === 0) &&