4 Commits

Author SHA1 Message Date
Daniel Rudolf
8005efdbbb phpDocs auto deployment: Remove latest commit check for pull requests
See https://developer.github.com/v3/pulls/#get-a-single-pull-request
> Each time the pull request receives new commits, GitHub creates a merge
> commit to *test* whether the pull request can be automatically merged into
> the base branch. (This *test* commit is not added to the base branch or the
> head branch.) The  attribute holds the SHA of the *test*
> merge commit; however, this attribute is deprecated and is scheduled for
> removal in the next version of the API.

 holds the SHA of the  merge commit and not of the
latest commit of the head branch, therefore the comparison fails. We could
theoretically compare it against this attribute, but as of its deprecation,
this is a pretty bad idea. Thus we remove the latest commit check for pull
requests.
2015-11-26 02:38:29 +01:00
Daniel Rudolf
45dcf32fa7 phpDocs auto deployment: Support pull requests in a safe environment 2015-11-26 02:15:34 +01:00
Daniel Rudolf
6e0b2aab34 phpDocs auto deployment: Disable for pull requests with a safe environment
Pull requests with a safe environment are primarly local branches
2015-11-26 01:35:35 +01:00
Daniel Rudolf
17dbc4cf18 phpDocs auto deployment: Cleanup 2015-11-26 00:29:14 +01:00