Skip to content

Fetching base branch fails #34

Description

@mathiasmoeller

Running the action fails when trying to fetch the base branch.

Setup:

Github Actions runs on: ubuntu-latest

- uses: anuraag016/Jest-Coverage-Diff@master
  name: Jest Tests & Coverage Report
  with:
    runCommand: "npx jest --coverage --collectCoverage=true --coverageDirectory='./' --coverageReporters='json-summary'"
    accessToken: ${{ secrets.GITHUB_TOKEN }}
    delta: 10

( the secret secrets.GITHUB_TOKEN is used by multiple workflows and is correct)

Expected Behavior:

It should generate a coverage report

Actual Behavior:

image

Any idea what that problem could be?
Thanks a lot already!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions