Startup startup as a result of clicking the "merge request" button

Is there a way to configure github web hooks in how merging occurs only in the case of autotests passed over the merged version?

i.e

  • I get a pulling desire and look through it
  • use the 'merge pull requiest' button
  • Merge details are sent to my server
  • local federated version created locally
  • autotests run
  • Autotest result sent back to github
  • merger or not depending on the result

Possible solution: 1) set the hook after receiving 2) run the tests 3) roll back the commit if the tests did not work using the Github API

+3
source share
2 answers

, .

+1

All Articles