GitHubPluginOptions
Defined in: plugins/holocron-plugin-github/src/index.ts:43
Options for the GitHub plugin.
Extends
Section titled “Extends”Properties
Section titled “Properties”areaLabels?
Section titled “areaLabels?”
optionalareaLabels?:LabelsConfig
Defined in: plugins/holocron-plugin-github/src/index.ts:57
repo.labels (the area map), handed in by the loader for the issue-types probe.
baseUrl?
Section titled “baseUrl?”
optionalbaseUrl?:string
Defined in: plugins/holocron-plugin-github/src/index.ts:63
Override base URL for tests. Defaults to https://api.github.com.
cliToken?
Section titled “cliToken?”
optionalcliToken?:string
Defined in: cli/kyber/dist/secrets.d.mts:125
The --token flag.
Inherited from
Section titled “Inherited from”
optionalenv?:ProcessEnv
Defined in: cli/kyber/dist/secrets.d.mts:127
The environment to read. Default process.env; a test passes its own.
Inherited from
Section titled “Inherited from”fetch?
Section titled “fetch?”
optionalfetch?: (input,init?) =>Promise<Response>
Defined in: plugins/holocron-plugin-github/src/index.ts:65
Override fetch for tests. Defaults to global fetch.
Parameters
Section titled “Parameters”string | URL | Request
RequestInit
Returns
Section titled “Returns”Promise<Response>
issueTypes?
Section titled “issueTypes?”
optionalissueTypes?: readonlyobject[]
Defined in: plugins/holocron-plugin-github/src/index.ts:59
The organization’s issue Types (issueTypes, #2512), handed in by the loader: the names a kind is written as.
keyring?
Section titled “keyring?”
optionalkeyring?: (account) =>string|null
Defined in: cli/kyber/dist/secrets.d.mts:129
Looks an account up in the keyring. Replaces the configured lookup and the credential store; a test passes its own.
Parameters
Section titled “Parameters”account
Section titled “account”string
Returns
Section titled “Returns”string | null
Inherited from
Section titled “Inherited from”labels?
Section titled “labels?”
optionallabels?:object
Defined in: plugins/holocron-plugin-github/src/index.ts:50
Lifecycle slot → label name. Used by the issues capability.
inProgress
Section titled “inProgress”inProgress:
string
Label that marks an issue as in progress.
inReview
Section titled “inReview”inReview:
string
Label that marks an issue as in review.
optionalorg?:string
Defined in: cli/kyber/dist/secrets.d.mts:131
The active org. It selects the keyring account <service>.<org> first. Default: the variable orgEnvName names.
Inherited from
Section titled “Inherited from”repo:
string
Defined in: plugins/holocron-plugin-github/src/index.ts:45
“owner/name” — e.g., “theholocron/holocron”. Required.
repoRoot?
Section titled “repoRoot?”
optionalrepoRoot?:string
Defined in: plugins/holocron-plugin-github/src/index.ts:48
Absolute path to the working repo root. Used by source’s
workflow-file methods. Defaults to process.cwd().
whoamiToken?
Section titled “whoamiToken?”
optionalwhoamiToken?:string
Defined in: plugins/holocron-plugin-github/src/index.ts:61
The token provider github whoami describes, by environment variable (default HOLOCRON_READ_TOKEN).