@@ -178,7 +178,6 @@ function get_check_data(pr) {
178178 }
179179 return fetch_checks_by_page ( p )
180180 . then ( function ( checks_request ) {
181- // console.log('checks_request', checks_request);
182181 for ( const check of checks_request [ "check_runs" ] ) {
183182 // NOTE: For now, excluding checks that are not also run in CI Nightly
184183 if ( job_names . has ( check [ "name" ] ) ) {
@@ -204,7 +203,6 @@ function get_check_data(pr) {
204203 html_url : pr [ "html_url" ] , // link to PR page
205204 number : pr [ "number" ] , // PR number (used as PR id); displayed on dashboard
206205 commit_sha : pr [ "head" ] [ "sha" ] , // For getting checks run on PR branch
207- // commit_sha: pr["merge_commit_sha"], // For getting checks run on main branch after merge
208206 // NOTE: using for now b/c we'll be linking to the PR page, where these checks are listed...
209207 checks : [ ] , // will be populated later with fetch_checks
210208 } ;
@@ -215,7 +213,6 @@ function get_check_data(pr) {
215213// Extract list of required jobs (i.e. main branch details: protection: required_status_checks: contexts)
216214function get_required_jobs ( main_branch ) {
217215 const required_jobs = main_branch [ "protection" ] [ "required_status_checks" ] [ "contexts" ] ;
218- // console.log('required jobs: ', required_jobs);
219216 return required_jobs ;
220217}
221218
@@ -319,7 +316,6 @@ async function main() {
319316
320317 // Write the job_stats to console as a JSON object
321318 console . log ( JSON . stringify ( job_stats ) ) ;
322- // console.log(JSON.stringify(required_jobs));
323319}
324320
325321
0 commit comments