Skip to content

GitHubPluginOptions

Defined in: plugins/holocron-plugin-github/src/index.ts:43

Options for the GitHub plugin.

optional areaLabels?: 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.


optional baseUrl?: string

Defined in: plugins/holocron-plugin-github/src/index.ts:63

Override base URL for tests. Defaults to https://api.github.com.


optional cliToken?: string

Defined in: cli/kyber/dist/secrets.d.mts:125

The --token flag.

ResolveTokenInput.cliToken


optional env?: ProcessEnv

Defined in: cli/kyber/dist/secrets.d.mts:127

The environment to read. Default process.env; a test passes its own.

ResolveTokenInput.env


optional fetch?: (input, init?) => Promise<Response>

Defined in: plugins/holocron-plugin-github/src/index.ts:65

Override fetch for tests. Defaults to global fetch.

string | URL | Request

RequestInit

Promise<Response>


optional issueTypes?: readonly object[]

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.


optional keyring?: (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.

string

string | null

ResolveTokenInput.keyring


optional labels?: object

Defined in: plugins/holocron-plugin-github/src/index.ts:50

Lifecycle slot → label name. Used by the issues capability.

inProgress: string

Label that marks an issue as in progress.

inReview: string

Label that marks an issue as in review.


optional org?: 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.

ResolveTokenInput.org


repo: string

Defined in: plugins/holocron-plugin-github/src/index.ts:45

“owner/name” — e.g., “theholocron/holocron”. Required.


optional repoRoot?: 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().


optional whoamiToken?: string

Defined in: plugins/holocron-plugin-github/src/index.ts:61

The token provider github whoami describes, by environment variable (default HOLOCRON_READ_TOKEN).