feat: allow setting editorial workflow PR label prefix (#4181)

This commit is contained in:
Kancer (Nilay) Gökırmak
2020-09-06 20:13:46 +02:00
committed by GitHub
parent c0fc423040
commit 6b8fa3fc45
18 changed files with 170 additions and 44 deletions

View File

@ -213,6 +213,7 @@ declare module 'netlify-cms-core' {
site_domain?: string;
base_url?: string;
auth_endpoint?: string;
cms_label_prefix?: string;
}
export interface CmsSlug {

View File

@ -78,6 +78,7 @@ const getConfigSchema = () => ({
examples: ['repo', 'public_repo'],
enum: ['repo', 'public_repo'],
},
cms_label_prefix: { type: 'string', minLength: 1 },
open_authoring: { type: 'boolean', examples: [true] },
},
required: ['name'],