diff --git a/.github/ISSUE_TEMPLATE.md b/.github/ISSUE_TEMPLATE.md deleted file mode 100644 index 40b774aed..000000000 --- a/.github/ISSUE_TEMPLATE.md +++ /dev/null @@ -1,16 +0,0 @@ -- [ ] I have looked at the documentation [here](https://pkg.go.dev/github.com/go-playground/validator/v10#section-documentation) first? -- [ ] I have looked at the examples provided that may showcase my question [here](/_examples)? - -### Package version eg. v9, v10: - - - -### Issue, Question or Enhancement: - - - -### Code sample, to showcase or reproduce: - -```go - -``` diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml new file mode 100644 index 000000000..38dce2787 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -0,0 +1,31 @@ +name: Bug Report +description: File a bug report +title: "[Bug]: " +labels: ["bug"] +body: + - type: markdown + attributes: + value: | + Thanks for taking the time to fill out this bug report! + - type: textarea + id: what-happened + attributes: + label: What happened? + description: Also tell us, what did you expect to happen? + validations: + required: true + - type: textarea + id: version + attributes: + label: Version + description: What version of validator are you running? + validations: + required: true + - type: textarea + id: code + attributes: + label: Example Code + description: Please provide a code example that demonstrates the issue + render: go + validations: + required: true \ No newline at end of file