It currently pulls in the front matter of the issue template, but doesn't assert that it has the required fields or any invalid fields. For example, if an issue template doesn't include a title front matter attribute, the Action fails because it can't render the title. That's expected, but the error message is confusing and not specific.
We should implement a check against a defined schema, to say "does this front matter match this schema". Using Joi or Zod something similar.
It currently pulls in the front matter of the issue template, but doesn't assert that it has the required fields or any invalid fields. For example, if an issue template doesn't include a
title
front matter attribute, the Action fails because it can't render the title. That's expected, but the error message is confusing and not specific.We should implement a check against a defined schema, to say "does this front matter match this schema". Using Joi or Zod something similar.