Skip to content

outputs.scanReport doesn't work anymore #104

@karlleveille

Description

@karlleveille

Hello 👋

In #89, there was an update of index.ts that removed the following method:

function writeReport(reportData: string) {
  fs.writeFileSync("./report.json", reportData);
  core.setOutput("scanReport", "./report.json");
}

But action.yml is still referencing scanReport as an output, so now it returns an empty string.

I saw that the action is outputing results in scan-result.json so I'm putting directly the filename in my workflows as a workaround.

Is scanReport expected to be removed from the action or was it just forgotten when refactoring?

Thanks 🙂

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions