From 3084d3f3f5a94537a63aa30149b46434b8deb135 Mon Sep 17 00:00:00 2001 From: Ganeshdip Dumbare Date: Fri, 14 Feb 2025 10:24:40 +0100 Subject: [PATCH 1/2] Remove outdated issue template --- .github/ISSUE_TEMPLATE.md | 16 ---------------- 1 file changed, 16 deletions(-) delete mode 100644 .github/ISSUE_TEMPLATE.md 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 - -``` From c9d3fba164cefebf032c4de06b39e2980aea4c25 Mon Sep 17 00:00:00 2001 From: Ganeshdip Dumbare Date: Fri, 14 Feb 2025 10:25:26 +0100 Subject: [PATCH 2/2] Add new bug report template using YAML format --- .github/ISSUE_TEMPLATE/bug_report.yml | 31 +++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 .github/ISSUE_TEMPLATE/bug_report.yml 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