We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents e0198cc + f883bb4 commit 4cc79e4Copy full SHA for 4cc79e4
src/helpers.ts
@@ -7,6 +7,8 @@ export const frontmatterSchema = z
7
assignees: z.union([z.array(z.string()), z.string()]).optional(),
8
labels: z.union([z.array(z.string()), z.string()]).optional(),
9
milestone: z.union([z.string(), z.number()]).optional(),
10
+ name: z.string().optional(),
11
+ about: z.string().optional(),
12
})
13
.strict();
14
tests/__snapshots__/index.test.ts.snap
@@ -240,7 +240,7 @@ exports[`create-an-issue logs a helpful error if the frontmatter is invalid 1`]
240
[
241
{
242
"_errors": [
243
- "Unrecognized key(s) in object: 'name', 'not_a_thing'",
+ "Unrecognized key(s) in object: 'not_a_thing'",
244
],
245
"labels": {
246
0 commit comments