Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change GitHub auth to be for GitHub Enterprise Server #5

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

mouismail
Copy link
Owner

@mouismail mouismail commented Sep 5, 2024

This pull request includes significant changes to the pkg/clients/github.go file, focusing on simplifying the initialization of GitHub clients by removing redundant methods and streamlining the client initialization process.

Simplification of GitHub Client Initialization:

  • Removed the initCloudClients method, which included the initialization of cloud clients and fetching the installation ID and token. This logic has been consolidated into the initClients method. (pkg/clients/github.go)
  • Removed the GetCloudV3Client and GetCloudV3AppClient methods, which were previously used to create new GitHub client instances. These methods are no longer needed due to the changes in the initialization process. (pkg/clients/github.go)

These changes streamline the GitHub client initialization process, making the codebase cleaner and more maintainable.

For more details, open the Copilot Workspace session.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant