Open ben-of-codecraft opened 1 month ago
Regarding this and #1715 I heard a feature request to introduce some sort of templating override for powerusers who want to structure their comments in different ways. Perhaps a "digger.mustache.tpl" file that lives somewhere and instrucructs digger what to include in the outputs somehow. Unformed thoughts, but it seems that its inevetible to allow for powerusers of comments to customise them heavily
I think some type of templating built in for display would be a welcomed addition.
Feature Request
Currently, Digger supports $DIGGER_OUT in workflow custom steps to display output back into the PR comment. This is put into a section block Additional Outputs which is hidden by default.
I would like there to be a way to target a different output variable to prepend before any other comment output. We have done this with security scanning using a custom variable called $DIGGER_PREFIX_OUT. Here is an example image of the output comment using $DIGGER_PREFIX_OUT instead of $DIGGER_OUT:
This would provide more power to customizing the information in the PR to the user for custom extension on top of Digger (security, format, cost, etc)