From 7ab13391527cd8390eb830ad407ece2d0ea7fd2c Mon Sep 17 00:00:00 2001 From: Ashley Date: Wed, 20 Dec 2023 16:35:18 -0500 Subject: [PATCH] removing console logs --- src/notify-classroom.js | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/notify-classroom.js b/src/notify-classroom.js index 013e0e8..54c2223 100644 --- a/src/notify-classroom.js +++ b/src/notify-classroom.js @@ -17,18 +17,15 @@ exports.NotifyClassroom = async function NotifyClassroom(runnerResults) { }, { totalPoints: 0, maxPoints: 0 } ); - console.log(`max score: ${maxPoints}`); if (!maxPoints) return; // Our action will need to API access the repository so we require a token // This will need to be set in the calling workflow, otherwise we'll exit const token = process.env.GITHUB_TOKEN || core.getInput("token"); - console.log(`Token: ${token}`); if (!token || token === "") return; // Create the octokit client const octokit = github.getOctokit(token); - console.log(`Octokit: ${octokit}`); if (!octokit) return; // The environment contains a variable for current repository. The repository @@ -41,7 +38,6 @@ exports.NotifyClassroom = async function NotifyClassroom(runnerResults) { // We need the workflow run id const runId = parseInt(process.env.GITHUB_RUN_ID || ""); - console.log(`Run ID: ${runId}`); if (Number.isNaN(runId)) return; // Fetch the workflow run