GitRepositoryState
Where a workspace’s git repository is.
enum
GitRepositoryStateValues
NOT_CONNECTED
No repository is connected yet.
PENDING_USER_ACTION
No repository is connected yet, and a GitHub App install request for the workspace waits for an organization owner on GitHub.
PENDING_VALIDATION
The repository is saved but not cloned yet: add the deploy key to it, then connect again with validate: true.
CONNECTED
The repository is cloned and in use.
DEGRADED
The GitHub App lost access to the repository, or its installation is suspended.
DISCONNECTED
The GitHub App installation was removed and the workspace has no deploy key to fall back to.