You need to create a personal access
token with the read_repository
scope
and store this token into a file (/filepath/to/your/access/token
in the below example).
You need to create a fined-grained personal access
token
and store this token into a file (/filepath/to/your/access/token
in
the below example). Note classic personal access tokens are also
supported.
The file path containing this access token for a remote is provided
with the attribute comin.remotes.*.auth.access_token_path
.
services.comin = {
enable = true;
remotes = [
{
name = "origin";
url = "https://gitlab.com/your/private-infra.git";
auth.access_token_path = "/filepath/to/your/access/token";
}
];
};