Configuration options for the GitHub store.

Note: We could retrieve name and email from the GitHub token by making an authenticated request to https://api.github.com/user, but then we would need to await the function that creates the store.

interface GitHubStoreConfig {
    author?: AuthorOrCommitter;
    branch?: string;
    committer: AuthorOrCommitter;
    github_api_base_url?: string;
    log?: Log;
    name?: string;
    owner: string;
    publication: Publication;
    repo: string;
    soft_delete?: boolean;
    token?: string;
}

Properties

author?: AuthorOrCommitter
branch?: string
committer: AuthorOrCommitter
github_api_base_url?: string
log?: Log
name?: string
owner: string
publication: Publication
repo: string
soft_delete?: boolean
token?: string