github-ospo icon indicating copy to clipboard operation
github-ospo copied to clipboard

Add a structured output format for actions

Open ahpook opened this issue 1 year ago • 2 comments

Currently the ospo-actions each make human readable reports, but it'd be beneficial to enable structured output like JSON which could get POSTed to a url. Users who are using an external system for logging or auditing could then parse the result and make use of the data for alerts, visualizations, etc.

ahpook avatar Mar 18 '24 22:03 ahpook

@ahpook I like this.

I agree, by default an output variable of json. If a repo can offer other formats, make them available as an output (e.g., github.com/github/stale-repos saves markdown, that could be offered as an output also).

wdyt?

jmeridth avatar Mar 20 '24 07:03 jmeridth

@ahpook I like this.

I agree, by default an output variable of json. If a repo can offer other formats, make them available as an output (e.g., github.com/github/stale-repos saves markdown, that could be offered as an output also).

wdyt?

JSON would be great as a default output — and markdown, when available, makes sense, too!

lelia avatar Apr 05 '24 19:04 lelia