Does this bot works with new .yml form template
Geolim4 opened this issue · 4 comments
Environment
Github Actions
Upgrading version
Latest
Description
Does this bot works with the new .yml form template ?
=> https://docs.github.com/en/communities/using-templates-to-encourage-useful-issues-and-pull-requests/syntax-for-issue-forms
Reproducible demo
N/A
If you're using YAML templates, then there'd be nothing to check for, as (if you've set up validation properly), the user has to follow the template.
But in answer to your question, no- take a look at index.js
, it is parsing markdown templates.
If you're using YAML templates, then there'd be nothing to check for, as (if you've set up validation properly), the user has to follow the template.
No it does not as the user can still ignore the proposed template 🤷🏻
@Geolim4 You should be able to prevent the user from ignoring a YAML template adding validation, and preventing blank issues. For example...
First, make fields you want them to fill in required, see docs
validations:
required: true
Then, disable the option for the user to create blank issues, see docs
blank_issues_enabled: false
Done! 🎉
@Geolim4 You should be able to prevent the user from ignoring a YAML template adding validation, and preventing blank issues. For example...
First, make fields you want them to fill in required, see docs
validations: required: trueThen, disable the option for the user to create blank issues, see docs
blank_issues_enabled: falseDone! 🎉
That's great, I was not aware of this option, I assume it has been added recently 🥳