flowwer-dev / pull-request-stats

Github action to print relevant stats about Pull Request reviewers
MIT License
366 stars 79 forks source link

Run nightly and display results in html but not linked to any PR #40

Closed valeriupredoi closed 1 year ago

valeriupredoi commented 2 years ago

Hey guys, first off - really like this tool, many thanks for putting it together! Second, was wondering if there's a way to run the action nightly (this is possible no problemo) but make it output the stats table in some sort of html file (or even stdout in the GA terminal) so we can create a badge that links to the stats table to be seen at any time by any user, and not be linked to opening/pushing to pull requests. So basically instead of COMMENT, get it to output to an html file everytime it runs nightly. Cheers muchly :beer:

manuelmhtr commented 2 years ago

Hi @valeriupredoi is a very good idea. Actually, there's a web versión)) for the app, but is currently used to display the historical stats of each developer.

I can create a new view to display the table and perhaps add some more stats. Do you think it may work?

valeriupredoi commented 2 years ago

@manuelmhtr many thanks, mate, and my apologies for the tardy reply! That'd be very nice, do you need any sort of help? I can test and review to the very least, for sure :beer:

manuelmhtr commented 1 year ago

Hi! v2.11.0 now outputs results as Markdown and JSON. You can use them along with a schedule trigger to accomplish it.