mirror of
https://github.com/sourcegraph/sourcegraph.git
synced 2026-02-06 18:51:59 +00:00
schema: add "pending" field to GitHub code host connection (#32433)
This commit is contained in:
parent
84b896840d
commit
014e8742fe
@ -175,6 +175,11 @@
|
||||
"description": "The installation ID of the GitHub App.",
|
||||
"type": "string"
|
||||
},
|
||||
"pending": {
|
||||
"description": "Whether the code host connection is in a pending state.",
|
||||
"type": "boolean",
|
||||
"default": false
|
||||
},
|
||||
"cloudGlobal": {
|
||||
"title": "CloudGlobal",
|
||||
"description": "When set to true, this external service will be chosen as our 'Global' GitHub service. Only valid on Sourcegraph.com. Only one service can have this flag set.",
|
||||
|
||||
@ -729,6 +729,8 @@ type GitHubConnection struct {
|
||||
InitialRepositoryEnablement bool `json:"initialRepositoryEnablement,omitempty"`
|
||||
// Orgs description: An array of organization names identifying GitHub organizations whose repositories should be mirrored on Sourcegraph.
|
||||
Orgs []string `json:"orgs,omitempty"`
|
||||
// Pending description: Whether the code host connection is in a pending state.
|
||||
Pending bool `json:"pending,omitempty"`
|
||||
// RateLimit description: Rate limit applied when making background API requests to GitHub.
|
||||
RateLimit *GitHubRateLimit `json:"rateLimit,omitempty"`
|
||||
// Repos description: An array of repository "owner/name" strings specifying which GitHub or GitHub Enterprise repositories to mirror on Sourcegraph.
|
||||
|
||||
Loading…
Reference in New Issue
Block a user