public void check ( GHPullRequest ghpr , boolean isWebhook ) { if ( helper . isProjectDisabled ( ) ) { LOGGER . log ( Level . FINE , "Project is disabled, ignoring pull request" ) ; return ; } // Call update PR with the update PR info and no comment updatePR ( ghpr , null /*GHIssueComment*/ , isWebhook ) ; commitAuthor = getPRCommitAuthor ( ) ; checkSkipBuild ( ) ; checkBlackListLabels ( ) ; checkWhiteListLabels ( ) ; tryBuild ( ) ; }
Checks this Pull Request representation against a GitHub version of the Pull Request and triggers a build if necessary .