@@ -304,6 +304,7 @@ const batch = (size, inputs) => inputs.reduce((batches, input) => {
304
304
} , [ [ ] ] )
305
305
306
306
const createCheck = async function ( octokit , owner , repo , title , ref ) {
307
+ core . info ( `Creating check {owner: "${ owner } ", repo: "${ repo } ", name: ${ title } }` )
307
308
try {
308
309
const { data : { id : checkRunId } } = await octokit . checks . create ( {
309
310
owner,
@@ -322,6 +323,7 @@ const createCheck = async function (octokit, owner, repo, title, ref) {
322
323
}
323
324
324
325
const updateCheck = async function ( octokit , owner , repo , checkRunId , conclusion , title , summary , annotations ) {
326
+ core . info ( `Updating check {owner: "${ owner } ", repo: "${ repo } ", check_run_id: ${ checkRunId } }` )
325
327
try {
326
328
await octokit . checks . update ( {
327
329
owner,
@@ -400,6 +402,7 @@ async function run () {
400
402
const annotations = JSON . parse ( inputContent )
401
403
const checkRunId = await createCheck ( octokit , owner , repo , title , ref )
402
404
const { failureCount, warningCount, noticeCount } = stats ( annotations )
405
+ core . info ( `Found ${ failureCount } failure(s), ${ warningCount } warning(s) and ${ noticeCount } notice(s)` )
403
406
const summary = generateSummary ( failureCount , warningCount , noticeCount )
404
407
const conclusion = generateConclusion ( failureCount , warningCount , noticeCount )
405
408
0 commit comments