Add GitHub App integration for organization-wide repository import#332
Open
manana2520 wants to merge 1 commit intoAIDotNet:mainfrom
Open
Add GitHub App integration for organization-wide repository import#332manana2520 wants to merge 1 commit intoAIDotNet:mainfrom
manana2520 wants to merge 1 commit intoAIDotNet:mainfrom
Conversation
Adds a complete GitHub App integration that allows administrators to: - Configure GitHub App credentials (App ID + private key) via admin UI - Connect GitHub organizations by installing the GitHub App - Browse all accessible repositories with search, language filter, and import status filter - Gmail-style select all: checkbox selects current page, banner offers to select all matching repos across pages - Batch import selected repositories into departments Backend: - New entity: GitHubAppInstallation (tracks installations + token cache) - GitHub App JWT auth, installation token management - Admin endpoints: /api/admin/github/* (status, config, installations, repos, batch-import) - Credential fallback: per-repo -> GitHub App token -> global token Frontend: - Admin page at /admin/github-import with full CRUD workflow - Sidebar navigation entry - i18n support for en, zh, ko, ja locales
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds a complete GitHub App integration for administrators to import repositories from GitHub organizations:
/admin/github-import: configure GitHub App credentials, connect organizations, browse & import reposBackend
GitHubAppInstallationentity with token caching/api/admin/github/*(status, config, installations, repos, batch-import)Frontend
Test plan