Skip to content

running on push event #53

@adjisb

Description

@adjisb

When trying to run the coverage on: push I get the following error:

Run ScaCap/code-coverage-assistant@master
TypeError: Cannot read properties of undefined (reading 'head')
    at /home/runner/work/_actions/ScaCap/code-coverage-assistant/master/dist/main.js:7:390[8]
Error: Cannot read properties of undefined (reading 'head')

My understanding that is that the error is because context.payload.pull_request.head in line 114

It is ok to run the action on push?
There is a way to fix this ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions