Skip to content

Conversation

@benbroadaway
Copy link
Collaborator

@benbroadaway benbroadaway commented Nov 14, 2025

Minimal support for cloning repos from GitHub app installation credentials (private key).

System-provided auth is defined in server and agent configs in the github.appInstallation section. See default conf for description.

User-provided app installation info (e.g. client id, private key) must be in a single-value secret containing JSON-formatted data like:

{
  "githubAppInstallation": {
    "apiUrl": "https://api.github.com",
    "clientId": "the-client-id",
    "privateKey": "-----BEGIN RSA PRIVATE KEY-----\nMIIEowI..."
    "username": "x-access-token",
    "urlPattern": "(?<baseUrl>github.com)/owner/.*"
  }
}

apiUrl and username are optional and default to https://api.github.com and x-access-token, respectively.

@benbroadaway benbroadaway requested review from a team, brig and ibodrov November 14, 2025 23:42
@benbroadaway benbroadaway marked this pull request as ready for review November 19, 2025 20:19
@benbroadaway benbroadaway requested a review from a team November 19, 2025 20:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants