Skip to content

Add support for GH enterpriseΒ #137

@xEtherealx

Description

@xEtherealx

I'm guessing the below failure is due to lack of support for self-hosted gh instances; it would be great to get support here but if there's a workaround please lmk!

❯ spr init
  πŸ‘‹  Welcome to spr!

  πŸ”‘  Okay, lets get started. First we need a 'Personal Access Token' from GitHub. This will authorise
      spr to open/update/merge Pull Requests etc. on behalf of your GitHub user.
      You can get one by going to https://github.com/settings/tokens and clicking on 'Generate new
      token'. The token needs the 'repo', 'user' and 'read:org' permissions, so please tick those two
      boxes in the 'Select scopes' section.
      You might want to set the 'Expiration' to 'No expiration', as otherwise you will have to repeat
      this procedure soon. Even if the token does not expire, you can always revoke it in case you fear
      someone got hold of it.
      Please paste in your PAT and press enter. (The input will not be displayed.)
GitHub Personal Access Token: [hidden]
  πŸ›‘  GitHub: Bad credentials
      Documentation URL: https://docs.github.com/rest

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions