From f42ea058f15d4d55bb2856edff5bf13f536ee268 Mon Sep 17 00:00:00 2001 From: cyclinder Date: Thu, 2 Nov 2023 19:38:14 +0800 Subject: [PATCH] fix github issue forms --- .github/ISSUE_TEMPLATE/{bug_report.md => bug_report.yaml} | 5 ++--- .github/ISSUE_TEMPLATE/{ci-failure.md => ci-failure.yaml} | 3 +-- .github/ISSUE_TEMPLATE/{doc.md => doc.yaml} | 8 ++++---- .../{feature_request.md => feature_request.yaml} | 3 +-- .github/ISSUE_TEMPLATE/{usage.md => usage.yaml} | 2 +- .github/yamllint-conf.yml | 1 + 6 files changed, 10 insertions(+), 12 deletions(-) rename .github/ISSUE_TEMPLATE/{bug_report.md => bug_report.yaml} (98%) rename .github/ISSUE_TEMPLATE/{ci-failure.md => ci-failure.yaml} (90%) rename .github/ISSUE_TEMPLATE/{doc.md => doc.yaml} (89%) rename .github/ISSUE_TEMPLATE/{feature_request.md => feature_request.yaml} (99%) rename .github/ISSUE_TEMPLATE/{usage.md => usage.yaml} (93%) diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.yaml similarity index 98% rename from .github/ISSUE_TEMPLATE/bug_report.md rename to .github/ISSUE_TEMPLATE/bug_report.yaml index d592c83710..91c0591167 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ b/.github/ISSUE_TEMPLATE/bug_report.yaml @@ -8,8 +8,8 @@ body: value: | Thanks for making this bug report. - - --- + + --- - type: input id: spiderpool-version attributes: @@ -73,4 +73,3 @@ body: description: Add any other context about the problem here. validations: required: false - \ No newline at end of file diff --git a/.github/ISSUE_TEMPLATE/ci-failure.md b/.github/ISSUE_TEMPLATE/ci-failure.yaml similarity index 90% rename from .github/ISSUE_TEMPLATE/ci-failure.md rename to .github/ISSUE_TEMPLATE/ci-failure.yaml index 6d1fefeee7..0383e7f0a2 100644 --- a/.github/ISSUE_TEMPLATE/ci-failure.md +++ b/.github/ISSUE_TEMPLATE/ci-failure.yaml @@ -1,5 +1,5 @@ name: CI failure -about: Report continuously failing tests or jobs in CI +description: Report continuously failing tests or jobs in CI labels: ["kind/ci-bug"] assignees: ["ty-dc"] body: @@ -27,4 +27,3 @@ body: id: additional attributes: label: Anything else we need to know? - \ No newline at end of file diff --git a/.github/ISSUE_TEMPLATE/doc.md b/.github/ISSUE_TEMPLATE/doc.yaml similarity index 89% rename from .github/ISSUE_TEMPLATE/doc.md rename to .github/ISSUE_TEMPLATE/doc.yaml index 1661a4b79b..ba44470dd4 100644 --- a/.github/ISSUE_TEMPLATE/doc.md +++ b/.github/ISSUE_TEMPLATE/doc.yaml @@ -8,10 +8,10 @@ body: label: The Type of Document Issue multiple: true options: - - "Lacking" - - "Wrong" - - "Outdated" - - "Other" + - "Lacking" + - "Wrong" + - "Outdated" + - "Other" validations: required: true - type: textarea diff --git a/.github/ISSUE_TEMPLATE/feature_request.md b/.github/ISSUE_TEMPLATE/feature_request.yaml similarity index 99% rename from .github/ISSUE_TEMPLATE/feature_request.md rename to .github/ISSUE_TEMPLATE/feature_request.yaml index 071f1a19d7..16bc43a72d 100644 --- a/.github/ISSUE_TEMPLATE/feature_request.md +++ b/.github/ISSUE_TEMPLATE/feature_request.yaml @@ -8,7 +8,7 @@ body: value: | Thanks for making this suggestion! - + ___ - type: textarea attributes: @@ -40,4 +40,3 @@ body: required: true - label: I've checked all open and closed pull requests and my request is not there. required: true - \ No newline at end of file diff --git a/.github/ISSUE_TEMPLATE/usage.md b/.github/ISSUE_TEMPLATE/usage.yaml similarity index 93% rename from .github/ISSUE_TEMPLATE/usage.md rename to .github/ISSUE_TEMPLATE/usage.yaml index a2695d9aa5..5745e21715 100644 --- a/.github/ISSUE_TEMPLATE/usage.md +++ b/.github/ISSUE_TEMPLATE/usage.yaml @@ -9,7 +9,7 @@ body: You are welcome to ask us for help, You can join the [#Spiderpool](https://cloud-native.slack.com/messages/spiderpool) channel on CNCF Slack by requesting an **[invitation](https://slack.cncf.io/)** from CNCF Slack. Or refer to the - [MAINTAINERS.md](https://github.com/spidernet-io/spiderpool/blob/main/MAINTAINERS.md) to find the email addresses + [MAINTAINERS.md](https://github.com/spidernet-io/spiderpool/blob/main/MAINTAINERS.md) to find the email addresses of all maintainers. Feel free to contact them via email to report any issues or ask questions. --- diff --git a/.github/yamllint-conf.yml b/.github/yamllint-conf.yml index 8d7794c595..abf5e5f8df 100644 --- a/.github/yamllint-conf.yml +++ b/.github/yamllint-conf.yml @@ -12,6 +12,7 @@ ignore: | vendor/ charts/ test/yamls + .github/ISSUE_TEMPLATE .licenserc.yaml rules: