From aeb06315090ae44ffcf6aee8f2115eb2e15be7a9 Mon Sep 17 00:00:00 2001 From: Drew Powers Date: Fri, 3 Jan 2025 15:04:22 -0700 Subject: [PATCH] Fix issue templates --- .github/ISSUE_TEMPLATE/01_openapi-typescript-bug.yml | 7 +++++-- .github/ISSUE_TEMPLATE/01_openapi-typescript-feat.yml | 3 +-- .github/ISSUE_TEMPLATE/02_openapi-fetch-bug.yml | 5 +++-- .github/ISSUE_TEMPLATE/02_openapi-fetch-feat.yml | 3 +-- .github/ISSUE_TEMPLATE/03_openapi-react-query-bug.yml | 6 ++++-- .github/ISSUE_TEMPLATE/03_openapi-react-query-feat.yml | 3 +-- .github/ISSUE_TEMPLATE/04_swr-openapi-bug.yml | 6 ++++-- .github/ISSUE_TEMPLATE/04_swr-openapi-feat.yml | 3 +-- 8 files changed, 20 insertions(+), 16 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/01_openapi-typescript-bug.yml b/.github/ISSUE_TEMPLATE/01_openapi-typescript-bug.yml index 3dfa26f92..620772127 100644 --- a/.github/ISSUE_TEMPLATE/01_openapi-typescript-bug.yml +++ b/.github/ISSUE_TEMPLATE/01_openapi-typescript-bug.yml @@ -6,18 +6,21 @@ labels: - triage body: - type: input + id: version attributes: label: openapi-typescript version placeholder: x.x.x validations: required: true - type: input + id: node attributes: label: Node.js version placeholder: 20.x.x validations: required: true - type: input + id: os attributes: label: OS + version placeholder: macOS 15.1.1 @@ -45,14 +48,14 @@ body: required: true - type: checkboxes id: required - label: Required attributes: + label: Required options: - label: My OpenAPI schema is valid and passes the [Redocly validator](https://redocly.com/docs/cli/commands/lint/) (`npx @redocly/cli@latest lint`) required: true - type: checkboxes id: extra - label: Extra attributes: + label: Extra options: - label: I’m willing to open a PR (see [CONTRIBUTING.md](https://github.com/openapi-ts/openapi-typescript/blob/main/packages/openapi-typescript/CONTRIBUTING.md)) diff --git a/.github/ISSUE_TEMPLATE/01_openapi-typescript-feat.yml b/.github/ISSUE_TEMPLATE/01_openapi-typescript-feat.yml index 28fdf9344..07b5eb824 100644 --- a/.github/ISSUE_TEMPLATE/01_openapi-typescript-feat.yml +++ b/.github/ISSUE_TEMPLATE/01_openapi-typescript-feat.yml @@ -1,6 +1,5 @@ name: "openapi-typescript: Feature request" description: Propose new functionality or a breaking change -title: "" labels: - openapi-ts - enhancement @@ -21,7 +20,7 @@ body: required: true - type: checkboxes id: extra - label: Extra attributes: + label: Extra options: - label: I’m willing to open a PR (see [CONTRIBUTING.md](https://github.com/openapi-ts/openapi-typescript/blob/main/packages/openapi-typescript/CONTRIBUTING.md)) diff --git a/.github/ISSUE_TEMPLATE/02_openapi-fetch-bug.yml b/.github/ISSUE_TEMPLATE/02_openapi-fetch-bug.yml index f53726675..0cf42230b 100644 --- a/.github/ISSUE_TEMPLATE/02_openapi-fetch-bug.yml +++ b/.github/ISSUE_TEMPLATE/02_openapi-fetch-bug.yml @@ -6,8 +6,9 @@ labels: - triage body: - type: input + id: version attributes: - label: Version + label: openapi-fetch version placeholder: x.x.x validations: required: true @@ -33,7 +34,7 @@ body: required: true - type: checkboxes id: extra - label: Extra attributes: + label: Extra options: - label: I’m willing to open a PR (see [CONTRIBUTING.md](https://github.com/openapi-ts/openapi-typescript/blob/main/packages/openapi-fetch/CONTRIBUTING.md)) diff --git a/.github/ISSUE_TEMPLATE/02_openapi-fetch-feat.yml b/.github/ISSUE_TEMPLATE/02_openapi-fetch-feat.yml index 241269a0b..b68237d63 100644 --- a/.github/ISSUE_TEMPLATE/02_openapi-fetch-feat.yml +++ b/.github/ISSUE_TEMPLATE/02_openapi-fetch-feat.yml @@ -1,6 +1,5 @@ name: "openapi-fetch: Feature request" description: Propose new functionality or a breaking change -title: "" labels: - openapi-fetch - enhancement @@ -21,7 +20,7 @@ body: required: true - type: checkboxes id: extra - label: Extra attributes: + label: Extra options: - label: I’m willing to open a PR (see [CONTRIBUTING.md](https://github.com/openapi-ts/openapi-typescript/blob/main/packages/openapi-fetch/CONTRIBUTING.md)) diff --git a/.github/ISSUE_TEMPLATE/03_openapi-react-query-bug.yml b/.github/ISSUE_TEMPLATE/03_openapi-react-query-bug.yml index 563c33b2e..378293bf8 100644 --- a/.github/ISSUE_TEMPLATE/03_openapi-react-query-bug.yml +++ b/.github/ISSUE_TEMPLATE/03_openapi-react-query-bug.yml @@ -6,8 +6,9 @@ labels: - triage body: - type: input + id: version attributes: - label: Version + label: openapi-react-query version placeholder: x.x.x validations: required: true @@ -26,6 +27,7 @@ body: validations: required: true - type: textarea + id: expected attributes: label: Expected result description: (In case it’s not obvious) @@ -33,7 +35,7 @@ body: required: true - type: checkboxes id: extra - label: Extra attributes: + label: Extra options: - label: I’m willing to open a PR (see [CONTRIBUTING.md](https://github.com/openapi-ts/openapi-typescript/blob/main/packages/openapi-react-query/CONTRIBUTING.md)) diff --git a/.github/ISSUE_TEMPLATE/03_openapi-react-query-feat.yml b/.github/ISSUE_TEMPLATE/03_openapi-react-query-feat.yml index c20560c1e..f2b8d4f1d 100644 --- a/.github/ISSUE_TEMPLATE/03_openapi-react-query-feat.yml +++ b/.github/ISSUE_TEMPLATE/03_openapi-react-query-feat.yml @@ -1,6 +1,5 @@ name: "openapi-react-query: Feature request" description: Propose new functionality or a breaking change -title: "" labels: - openapi-react-query - enhancement @@ -21,7 +20,7 @@ body: required: true - type: checkboxes id: extra - label: Extra attributes: + label: Extra options: - label: I’m willing to open a PR (see [CONTRIBUTING.md](https://github.com/openapi-ts/openapi-typescript/blob/main/packages/openapi-react-query/CONTRIBUTING.md)) diff --git a/.github/ISSUE_TEMPLATE/04_swr-openapi-bug.yml b/.github/ISSUE_TEMPLATE/04_swr-openapi-bug.yml index 63cb36f05..6feba784f 100644 --- a/.github/ISSUE_TEMPLATE/04_swr-openapi-bug.yml +++ b/.github/ISSUE_TEMPLATE/04_swr-openapi-bug.yml @@ -5,8 +5,9 @@ labels: - bug body: - type: input + id: version attributes: - label: Version + label: swr-openapi version placeholder: x.x.x validations: required: true @@ -25,6 +26,7 @@ body: validations: required: true - type: textarea + id: expected attributes: label: Expected result description: (In case it’s not obvious) @@ -32,7 +34,7 @@ body: required: true - type: checkboxes id: extra - label: Extra attributes: + label: Extra options: - label: I’m willing to open a PR (see [CONTRIBUTING.md](https://github.com/openapi-ts/openapi-typescript/blob/main/packages/swr-openapi/CONTRIBUTING.md)) diff --git a/.github/ISSUE_TEMPLATE/04_swr-openapi-feat.yml b/.github/ISSUE_TEMPLATE/04_swr-openapi-feat.yml index 56da4825b..bc9c564b3 100644 --- a/.github/ISSUE_TEMPLATE/04_swr-openapi-feat.yml +++ b/.github/ISSUE_TEMPLATE/04_swr-openapi-feat.yml @@ -1,6 +1,5 @@ name: "swr-openapi: Feature request" description: Propose new functionality or a breaking change -title: "" labels: - swr-openapi - enhancement @@ -21,7 +20,7 @@ body: required: true - type: checkboxes id: extra - label: Extra attributes: + label: Extra options: - label: I’m willing to open a PR (see [CONTRIBUTING.md](https://github.com/openapi-ts/openapi-typescript/blob/main/packages/swr-openapi/CONTRIBUTING.md))