Matticusau / pr-helper

Extremely powerful GitHub Action to streamline management of PRs through automation of common tasks. Very versatile with plenty of configuration settings to adapt to many different implementations.
MIT License
9 stars 1 forks source link

Support for workflow run trigger #50

Closed Matticusau closed 3 years ago

Matticusau commented 3 years ago

Feature Request

Is your feature request related to a problem? Please describe. Have found that when some workflows include long-running additional checks (e.g. builds etc) we can run into a Race Condition between the completion of Pr Helper and that other check/workflow. For example, assume that all conditions are met and Pr Helper should proceed with merging the PR. However, there is an additional check running a build of the application that takes 10 mins to complete, that process would then block the merge from being complete. It would also then mean Pr Helper is not run again until further actions are taken, and such actions could trigger the same race condition.

Describe the solution you'd like GitHub has provided support for the WorkFlow_Run event as a trigger. This will mean we can add a condition that will re-trigger the PR Helper at the completion of that long-running workflow/task. https://docs.github.com/en/actions/reference/events-that-trigger-workflows#workflow_run

Describe alternatives you've considered None as GitHub has native support for this now

Teachability, Documentation, Adoption, Migration Strategy TBA

Matticusau commented 3 years ago

Released