Skip to content

schema: add "pending" field to GitHub code host connection

Warren Gifford requested to merge jc/CLOUD-313-github-pending into main

Created by: unknwon

We need a pending state for connecting code hosts through GitHub App if GitHub org admin approval is required. As this is very specific to the GitHub App flow, adding an extra field to the GitHub code host connection schema takes the minimal effort.

Due to the fact that the "repos": [] field is empty, our repo syncing would effectively do nothing despite at this point, the "token" value is invalid.

Test plan

JSON schema validation.


Jira: CLOUD-310

Merge request reports

Loading