Skip to content

Output errors in a supported way for GitHub Action #103

@neilime

Description

@neilime

New issue?

  • I have reviewed the Known Issues and confirm this is not a known issue.

TL;DR

Hi,

Thank you for this remarkable tool, it is a good friend to improve security in CI/Cd workflows.
I'm looking for a way to parse outputted errors to integrate them properly in GitHub Action.

IMO, the best way os to use the error-message command.

But is is not possible the retrieve docker step stdout or stderr...

Do you think there is a chance to improve it?

I can see at least 2 solutions:

  • Add outputs parameter to parser (cli, github-action, gitlab...)
  • Build a specific docker target with a dedicated entrypoint to be used by a dedicated action. This entrypoint should be a wrapper of the ratchet entrypoint that would catch the stderr and pass it to GITHUB output

Detailed design

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions