def import_dangerfile_from_github(slug, branch = nil, path = nil)
      raise "`import_dangerfile_from_github` requires a string" unless slug.kind_of?(String)
      org, repo = slug.split("/")
      download_url = env.request_source.file_url(organisation: org, repository: repo, branch: branch, path: path || "Dangerfile")
      local_path = download(download_url)
      @dangerfile.parse(Pathname.new(local_path))
    end
def import_dangerfile_from_github(slug, branch = nil, path = nil)
      raise "`import_dangerfile_from_github` requires a string" unless slug.kind_of?(String)
      org, repo = slug.split("/")
      download_url = env.request_source.file_url(organisation: org, repository: repo, branch: branch, path: path || "Dangerfile")
      local_path = download(download_url)
      @dangerfile.parse(Pathname.new(local_path))
    end
@!group Danger
 Download and execute a remote Dangerfile.

 @param    [String] slug
           A slug that represents the repo where the Dangerfile is.
 @param    [String] branch
           A branch from repo where the Dangerfile is.
 @param    [String] path
           The path at the repo where Dangerfile is.
 @return   [void]