Skip to content
This repository has been archived by the owner on Jun 12, 2024. It is now read-only.

Commit

Permalink
print more stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
ashishkeshan committed Dec 6, 2023
1 parent 63dbaf6 commit 27f1fdd
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/notify-classroom.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,7 @@ exports.NotifyClassroom = async function NotifyClassroom (runnerResults) {
})

// Find the check suite run
// eslint-disable-next-line @typescript-eslint/no-explicit-any
const checkSuiteUrl = (workflowRunResponse.data).check_suite_url
const checkSuiteUrl = workflowRunResponse.data.check_suite_url
const checkSuiteId = parseInt(checkSuiteUrl.match(/[0-9]+$/)[0], 10)
const checkRunsResponse = await octokit.rest.checks.listForSuite({
owner,
Expand All @@ -59,6 +58,8 @@ exports.NotifyClassroom = async function NotifyClassroom (runnerResults) {
check_suite_id: checkSuiteId,
})

console.log(`Check checkRunsResponse: ${checkRunsResponse}`)

// List check runs for the repository
// const checkRunsResponse = await octokit.rest.checks.listForRef({
// owner,
Expand Down

0 comments on commit 27f1fdd

Please sign in to comment.