Skip to content

support github enterprise #4

@srl295

Description

@srl295

where SECRETHOSTNAME should be a variable or something.

   def initialize(user, pass, repo)
     @user = user
     $logger.debug("#{@user} connects to github repo '#{repo}'")
+    Octokit.configure do |c|
+      c.api_endpoint = "https://SECRETHOSTNAME/api/v3/"
+    end

details: https://github.com/octokit/octokit.rb#working-with-github-enterprise

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions