Generate output for `project`/`build` health in machine-readable format
#1,094 opened on Jan 2, 2024
Repository metrics
- Stars
- (2,172 stars)
- PR merge metrics
- (PR metrics pending)
Description
Describe the solution you'd like
New output format for projectHealth and buildHealth.
In order to support features like Github Checks, we need the ability to see line-numbers and other metadata associated with files specifically.
In order to reduce the feature request, if we generated errorformat outputs, we could hook into tools like @reviewdog/reviewdog.
Describe alternatives you've considered
I wrote up a github action with a python script to parse the buildHealth.txt file for outputs: https://github.com/Nava2/dependency-analysis-reviewdog-action. This works OK, but it is brittle and prone to errors as the formats change.
Another, better example than errorformat is probably using sarif (Link)