danhunsaker / clover-reporter-action

Comments a pull request with the jest code coverage
5 stars 8 forks source link

Fails to read Clover test results #3

Open Saeven opened 3 years ago

Saeven commented 3 years ago

Was hopeful to use this action, but it's failing with:

[@octokit/rest] `const Octokit = require("@octokit/rest")` is deprecated. Use `const { Octokit } = require("@octokit/rest")` instead
6
TypeError: Cannot read property 'head' of undefined
7
    at main$1 (/home/runner/work/_actions/danhunsaker/clover-reporter-action/v0.2.17-clover/dist/main.js:31066:41)
8
Error: Cannot read property 'head' of undefined

Known issue?

aterreno commented 2 years ago

same fails

eloisetaylor5693 commented 1 year ago

Getting the same error

Run danhunsaker/clover-reporter-action@v0.2.17-clover
[@octokit/rest] `const Octokit = require("@octokit/rest")` is deprecated. Use `const { Octokit } = require("@octokit/rest")` instead
TypeError: Cannot read property 'head' of undefined
    at main$1 (/home/runner/work/_actions/danhunsaker/clover-reporter-action/v0.2.17-clover/dist/main.js:31066:41)
Error: Cannot read property 'head' of undefined