diff --git a/src/helpers.ts b/src/helpers.ts index 8444a9c..3e503f5 100644 --- a/src/helpers.ts +++ b/src/helpers.ts @@ -7,6 +7,8 @@ export const frontmatterSchema = z assignees: z.union([z.array(z.string()), z.string()]).optional(), labels: z.union([z.array(z.string()), z.string()]).optional(), milestone: z.union([z.string(), z.number()]).optional(), + name: z.string().optional(), + about: z.string().optional(), }) .strict(); diff --git a/tests/__snapshots__/index.test.ts.snap b/tests/__snapshots__/index.test.ts.snap index 7340d64..0523e74 100644 --- a/tests/__snapshots__/index.test.ts.snap +++ b/tests/__snapshots__/index.test.ts.snap @@ -240,7 +240,7 @@ exports[`create-an-issue logs a helpful error if the frontmatter is invalid 1`] [ { "_errors": [ - "Unrecognized key(s) in object: 'name', 'not_a_thing'", + "Unrecognized key(s) in object: 'not_a_thing'", ], "labels": { "_errors": [