Problem
Users attempting to add a VCS connection via the GitHub App via the organization settings may see that the GitHub App is already marked as installed, and there is no obvious option available to add it as a VCS provider.
Cause
The issue is caused by a graphical bug in the UI that prevents users from re-adding the GitHub App as a VCS provider. Even after removing the GitHub App from a personal user account or organization in GitHub, it may still be marked as installed and not be available to be added as a VCS provider.
Workaround
To add the GitHub App as a VCS provider, the following workaround exists:
- Go to the workspace that you want to connect the VCS provider to. (If the workspace does not exist, it can be created with a CLI or API workflow and changed in the workspace settings under General later)
- Navigate to the VCS settings for that workspace.
- Attempt to add the GitHub App as a VCS provider from within the workspace VCS settings.
- If the first attempt fails, try adding the provider again. This should add the provider appropriately.
This workaround should allow you to add the GitHub App as a VCS provider until the graphical bug is fixed.
Additional Information
Please note that this issue is caused by a graphical bug and does not impact the functionality of the GitHub App as a VCS provider. Additionally, the bug has been reported to HashiCorp for resolution. We apologize for any inconvenience this may have caused and thank you for your patience as we work to resolve this issue.