flowwer-dev / pull-request-stats

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

Manually triggering pull request stat runs #68

Closed ElliotNB closed 1 year ago

ElliotNB commented 1 year ago

@manuelmhtr First off, thank you for building such a useful tool!

Occasionally GitHub fails to run actions for a number of different reasons. For example, in just the past week, GitHub has experienced three separate outages/incidents related to Actions ( https://www.githubstatus.com/history ). Is there a way to manually trigger a run of pull request stats in the event that the action fails to trigger/execute automatically?

chris-jenkinson commented 1 year ago

You can put workflow_dispatch: in the on: section of your definition file.

manuelmhtr commented 1 year ago

Yes. As @chris-jenkinson mentioned, you can use workflow_dispatch or also you can schedule the action and send the results to Slack, Teams, or a Webhook (check this example).