Skip to main content
To import a private GitHub repository of skills, a vault your workspace can use needs a GitHub connection with access to that repository. This guide walks through connecting it and running your first private sync.
Signing in to JoyStream with GitHub is not a connection. Sign-in identifies you and grants only public access. Private repositories need a GitHub connection in the vault.
1

Connect GitHub to the vault

In the web UI, open Org or Workspace Hub → Vault → Connect Provider and pick GitHub. You get two ways to connect:
  • Authorize with GitHub. An OAuth flow where you grant JoyStream the permissions it needs, for the GitHub organizations you choose.
  • Personal access token. Create a token in GitHub with these scopes and paste it: repo, workflow, delete_repo, read:user, user:email, project.
The same connection serves two purposes: syncing private repositories into your catalog, and any agent in the workspace that uses GitHub provider actions. Choose the option that covers both, and for an OAuth connection include every organization whose repositories you want to sync.To connect from the CLI instead:
The CLI opens the same connection page in your browser, with both options. See Connect a service.You can also reach the vault from the Connect GitHub call to action that appears on a skill source card when a sync reports that a credential is required.
2

Add the repository

In the UI, use the skill sources card and paste the repository URL.From the CLI:
Only GitHub URLs are accepted. A non-GitHub URL is rejected at this step.
3

Sync it

In the UI, click the per-row Sync control on the card.From the CLI:
On success you see how many servers or skills were imported.

If you see “GitHub credential required”

The sync couldn’t read the repository and no usable GitHub credential was found for you. This is the expected message before you’ve connected GitHub to the vault. In the UI, click Connect GitHub on the card, which takes you to the vault’s Connect Provider flow. From the CLI you see:
With --json:
Connect GitHub to the vault, then re-run the sync.

If a sync still fails after connecting

If you have a credential connected but the sync reports the repository wasn’t found, either the repository path is wrong or your token does not have repo access to it. Check the token’s scope and confirm it can see that repository. For organization repositories protected by SSO, authorize the token for that organization’s SSO and retry.

Notes

  • Public repositories need no credential at all.
  • The CLI has no --token flag by design. It always uses the credential you connected in the vault, so your token never ends up in your shell history.
  • Your token is used only for the sync request and is then discarded.

See also