1

I have got a use case where I need to do the check just before merge.

In this scenario a user pushes a code raise pull request, next pushes more code pull requests or updates and finally gets ready to merge. When the user clicks on the Merge, I need to do the "final check" before proceeding. If the check passes, the merge is allowed to proceed, else the merge should be declined and the user should be asked to correct the code so that it be able to pass the "final check". Is this possible to do with github ?

Any other workarounds are welcome as well.

Note: final check is a Jenkins job.

I have seen the merge event fires as a push event to base branch. Also I couldn't find any event which can hold the merge after clicking the Merge button till the event has completed.

mebius99
  • 2,495
  • 1
  • 5
  • 9
Maddy
  • 19
  • 4
  • 1
    Possible duplicate of [Github Pull Request Checks](https://stackoverflow.com/questions/39043691/github-pull-request-checks) – Joe Jun 18 '19 at 10:49

0 Answers0