From 5b774470ce07a749ea8b62fe70445189dfc3f699 Mon Sep 17 00:00:00 2001 From: Yaohui Liu Date: Mon, 6 Mar 2023 20:18:28 +0800 Subject: [PATCH] Fix the error of issue templates. --- .github/ISSUE_TEMPLATE/blank_issue.yml | 6 +----- .github/ISSUE_TEMPLATE/bug_report.yml | 14 +++++--------- .github/ISSUE_TEMPLATE/feature_request.yml | 16 ++++++---------- 3 files changed, 12 insertions(+), 24 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/blank_issue.yml b/.github/ISSUE_TEMPLATE/blank_issue.yml index 68003cb49..bbd855958 100644 --- a/.github/ISSUE_TEMPLATE/blank_issue.yml +++ b/.github/ISSUE_TEMPLATE/blank_issue.yml @@ -2,7 +2,7 @@ name: Blank Issue description: Submit an issue about Tensorflow.NET. labels: [Blank Issue] body: - - type: markdown + - type: textarea id: description attributes: label: Description @@ -10,7 +10,3 @@ body: placeholder: Description validations: required: false - - type: markdown - attributes: - value: | - No matched issue template? Try the blank issue! We welcome submitting issues to Tensorflow.NET! diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml index a945d302e..14e237951 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.yml +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -7,7 +7,7 @@ body: attributes: value: | We welcome bug reports! Any unexpected behavior could be a BUG and this template help us gather the information to fix it. - - type: markdown + - type: textarea id: background attributes: label: Description @@ -15,7 +15,7 @@ body: placeholder: Description validations: required: true - - type: markdown + - type: textarea id: repro-steps attributes: label: Reproduction Steps @@ -24,7 +24,7 @@ body: placeholder: Minimal Reproduction validations: required: false - - type: markdown + - type: textarea id: known-workarounds attributes: label: Known Workarounds @@ -33,7 +33,7 @@ body: placeholder: Known Workarounds validations: required: false - - type: markdown + - type: textarea id: configuration attributes: label: Configuration and Other Information @@ -45,8 +45,4 @@ body: * Any other information about this problem? placeholder: Configuration validations: - required: false - - type: markdown - attributes: - value: | - Thanks for reporting the problem to us! \ No newline at end of file + required: false \ No newline at end of file diff --git a/.github/ISSUE_TEMPLATE/feature_request.yml b/.github/ISSUE_TEMPLATE/feature_request.yml index 7c10f13a3..9ce3f1663 100644 --- a/.github/ISSUE_TEMPLATE/feature_request.yml +++ b/.github/ISSUE_TEMPLATE/feature_request.yml @@ -7,7 +7,7 @@ body: attributes: value: | We welcome feature proposal/request! This template will help us gather the information we need to implement the new feature. - - type: markdown + - type: textarea id: background attributes: label: Background and Feature Description @@ -15,7 +15,7 @@ body: placeholder: Purpose validations: required: true - - type: markdown + - type: textarea id: api-proposal attributes: label: API Definition and Usage @@ -26,11 +26,11 @@ body: ```cs public Tensor NewFunc(Tensor x, int y); - var result = NewFunc(input, index); + var result = NewFunc(input, index); ``` validations: required: false - - type: markdown + - type: textarea id: alternatives attributes: label: Alternatives @@ -39,7 +39,7 @@ body: placeholder: Alternatives validations: required: false - - type: markdown + - type: textarea id: risks attributes: label: Risks @@ -47,8 +47,4 @@ body: Please mention any risks that to your knowledge the API proposal might entail, such as breaking changes, performance regressions, etc. placeholder: Risks validations: - required: false - - type: markdown - attributes: - value: | - Thanks for your contributing! + required: false \ No newline at end of file