Skip to content

githubConfigSchema

const githubConfigSchema: ZodObject<{ appId: ZodOptional<ZodString>; installationId: ZodOptional<ZodString>; mode: ZodOptional<ZodEnum<{ checks: "checks"; statuses: "statuses"; }>>; owner: ZodString; prefix: ZodOptional<ZodString>; repo: ZodString; }, $strip>

Defined in: github-config.ts:10

Validation schema for a GitHub channel config: owner + repo, an optional status prefix and how the build is shown. statuses (default) posts commit statuses with a token; checks posts check runs as a GitHub App and needs appId and installationId (the private key is the channel’s secret).