diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e9c89cc93..231a96425 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -603,8 +603,10 @@ jobs: repo: context.repo.repo, ref: context.sha }); + console.log("Check runs found:", result.data.check_runs.map(run => run.name)); const checkRun = result.data.check_runs.find(run => run.name === 'Check python matches black format'); - if (checkRun) { + if (checkRun) { + console.log("Updating check run with ID:", checkRun.id); await github.rest.checks.update({ owner: context.repo.owner, repo: context.repo.repo, @@ -616,6 +618,8 @@ jobs: summary: 'The black formatting check failed but it is marked as neutral.', } }); + } else { + console.log("No matching check run found."); } # - name: Mark step with a warning