atsign-foundation/at_app

Malformed Sarif file upload

XavierChanth opened this issue · 1 comments

Describe the bug

The sarif file is uploaded with the additional got codeowners file at .github/CODEOWNERS in the head of the file.

This causes the json parsing to fail with message: Unexpected token g in JSON at position 0

Steps to reproduce

Run this workflow with a CODEOWNERS file in the .github folder.

Expected behavior

The workflow runs without fail, and uploads the sarif file without the additional line in the head.

Screenshots

No response

Smartphones

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]

Were you using an atApplication when the bug was found?

No response

Additional context

No response

This will be fixed by V2.1.2 of the scorecard action when Dependabot comes along with a PR for it in the next day or so