docs: Add new issue form for applications (#9470)

This commit is contained in:
Jiralite
2023-04-28 20:47:19 +01:00
committed by GitHub
parent 375483b0f9
commit 77191a2e7b
5 changed files with 128 additions and 67 deletions

View File

@@ -88,7 +88,7 @@ export async function createPackage(packageName: string, packageDescription?: st
const issueLabelerYAML = parseYAML(await readFile('issue-labeler.yml', 'utf8')) as Record<string, string[]>;
issueLabelerYAML[`packages:${packageName}`] = [
`### Which package is this (bug report|feature request) for\\?\\n\\n${packageName}`,
`### Which (application|package|application or package) is this (bug report|feature request) for\\?\\n\\n${packageName}\\n`,
];
await writeFile('issue-labeler.yml', stringifyYAML(sortYAMLObject(issueLabelerYAML)));