Skip to content

enrich should detected malformed JSON #20

Description

@dancewithheart

It is common that CI that uses enriched SARIF from cabal-audit fails, when by mistake you do cabal-audit --sarif > sarif.json
output is often not JSON alone but few lines about git or compilation and then JSON. This crashes CI with unintuitive error.

enrich action should check if sarif file actually has json. Check doe not need to be sophisticated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions