travis-ci/travis-core — pull request #224 by henrikhodne (2013-06-22 14:42:55+00:00)
Title: Use branch instead of ref in Request::Approval

Pull Requests have refs on the form "refs/pulls/[pull-id]/merge", which
doesn't match the Regexp, which is the cause of #1056. This uses the
branch instead, and fixes #1056.