Currently we send hubot notifications when the PR mergeable_state is unstable, however this is the status when the CI job first starts and not when its failed. There doesnt seem to be anything on the github api to figure out when checks failed so we might have to figure out the jenkins CI job and watch that instead Until then we will send a notification with the details of how to clone the pull request and fix if checks fail.
Currently we send hubot notifications when the PR
mergeable_state
isunstable
, however this is the status when the CI job first starts and not when its failed. There doesnt seem to be anything on the github api to figure out when checks failed so we might have to figure out the jenkins CI job and watch that instead Until then we will send a notification with the details of how to clone the pull request and fix if checks fail.Example PR
curl https://api.github.com/repos/fabric8io/ipaas-quickstarts/pulls/797