Examples
Sync individual repos
Sync individual repos
Sync all repos in a organization
Sync all repos in a organization
Sync all repos owned by a user
Sync all repos owned by a user
Exclude repos from syncing
Exclude repos from syncing
Authenticating with Gitea
In order to index private repositories, you’ll need to generate a Gitea access token. Generate a Gitea access token here. At minimum, you’ll need to select theread:repository
scope. read:user
and read:organization
are required for the user
and org
fields of your config file:

token
property, either as an environment variable or a secret:
- Environment Variable
- Secret
Environment variables are only supported in a declarative config and cannot be used in the web UI.
- Add the
token
property to your connection config:
- Pass this environment variable each time you run Sourcebot:
Connecting to a custom Gitea
To connect to a custom Gitea deployment, provide theurl
property to your config:
Schema reference
Reference
Reference