Skip to content

Add support for Github credentials for GHE.com #39

@guudan

Description

@guudan

With current setup it is not possible to inject credentials for github cli for Github account with data residency, hosted on: companyname.ghe.com

The authentication to the service without credential injection from Github Copilot CLI requires 2 environment variables:

  • COPILOT_GITHUB_TOKEN - same as for github.com
  • GH_HOST - to point to the github enterprise account, companyname.ghe.com

Currently it is possible only by manually configuring both env variables inside of the sandbox.

Link to related github documentation:
https://docs.github.com/en/enterprise-cloud@latest/admin/data-residency/feature-overview-for-github-enterprise-cloud-with-data-residency

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions