code: public boolean matches(GHRepository repo) throws IOException {
          return userName.equals(repo.getOwner().getLogin()) // TODO: use getOwnerName
                  && repositoryName.equals(repo.getName())
                  && host.equals(repo.getHtmlUrl().getHost());
      }
docs: Does this repository match the repository referenced in the given {@link GHCommitPointer}?