From 475471c1e65513b227e2c795bc4073768d5887c7 Mon Sep 17 00:00:00 2001 From: Drew Powers Date: Fri, 3 Jan 2025 13:20:27 -0700 Subject: [PATCH] Fix issue templates --- .github/ISSUE_TEMPLATE/01_openapi-typescript-bug.yml | 10 ++++++++-- .github/ISSUE_TEMPLATE/01_openapi-typescript-feat.yml | 5 +++-- .github/ISSUE_TEMPLATE/02_openapi-fetch-bug.yml | 5 +++-- .github/ISSUE_TEMPLATE/02_openapi-fetch-feat.yml | 5 +++-- .github/ISSUE_TEMPLATE/03_openapi-react-query-bug.yml | 5 +++-- .github/ISSUE_TEMPLATE/03_openapi-react-query-feat.yml | 5 +++-- .github/ISSUE_TEMPLATE/04_swr-openapi-bug.yml | 5 +++-- .github/ISSUE_TEMPLATE/04_swr-openapi-feat.yml | 5 +++-- 8 files changed, 29 insertions(+), 16 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/01_openapi-typescript-bug.yml b/.github/ISSUE_TEMPLATE/01_openapi-typescript-bug.yml index ac01c02f3..3dfa26f92 100644 --- a/.github/ISSUE_TEMPLATE/01_openapi-typescript-bug.yml +++ b/.github/ISSUE_TEMPLATE/01_openapi-typescript-bug.yml @@ -1,5 +1,5 @@ name: "openapi-typescript: Bug report" -about: Report a bug or unexpected behavior +description: Report a bug or unexpected behavior labels: - openapi-ts - bug @@ -44,9 +44,15 @@ body: validations: required: true - type: checkboxes - id: checklist + id: required + label: Required attributes: 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: + 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 9ffdc919e..28fdf9344 100644 --- a/.github/ISSUE_TEMPLATE/01_openapi-typescript-feat.yml +++ b/.github/ISSUE_TEMPLATE/01_openapi-typescript-feat.yml @@ -1,5 +1,5 @@ name: "openapi-typescript: Feature request" -about: Propose new functionality or a breaking change +description: Propose new functionality or a breaking change title: "" labels: - openapi-ts @@ -20,7 +20,8 @@ body: validations: required: true - type: checkboxes - id: checklist + id: extra + label: Extra attributes: 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 11fd702fa..f53726675 100644 --- a/.github/ISSUE_TEMPLATE/02_openapi-fetch-bug.yml +++ b/.github/ISSUE_TEMPLATE/02_openapi-fetch-bug.yml @@ -1,5 +1,5 @@ name: "openapi-fetch: Bug report" -about: Report a bug or unexpected behavior +description: Report a bug or unexpected behavior labels: - openapi-fetch - bug @@ -32,7 +32,8 @@ body: validations: required: true - type: checkboxes - id: checklist + id: extra + label: Extra attributes: 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 fd3bd7ea3..241269a0b 100644 --- a/.github/ISSUE_TEMPLATE/02_openapi-fetch-feat.yml +++ b/.github/ISSUE_TEMPLATE/02_openapi-fetch-feat.yml @@ -1,5 +1,5 @@ name: "openapi-fetch: Feature request" -about: Propose new functionality or a breaking change +description: Propose new functionality or a breaking change title: "" labels: - openapi-fetch @@ -20,7 +20,8 @@ body: validations: required: true - type: checkboxes - id: checklist + id: extra + label: Extra attributes: 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 695a39c6f..563c33b2e 100644 --- a/.github/ISSUE_TEMPLATE/03_openapi-react-query-bug.yml +++ b/.github/ISSUE_TEMPLATE/03_openapi-react-query-bug.yml @@ -1,5 +1,5 @@ name: "openapi-react-query: Bug report" -about: Report a bug or unexpected behavior +description: Report a bug or unexpected behavior labels: - openapi-react-query - bug @@ -32,7 +32,8 @@ body: validations: required: true - type: checkboxes - id: checklist + id: extra + label: Extra attributes: 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 3952dd8bd..c20560c1e 100644 --- a/.github/ISSUE_TEMPLATE/03_openapi-react-query-feat.yml +++ b/.github/ISSUE_TEMPLATE/03_openapi-react-query-feat.yml @@ -1,5 +1,5 @@ name: "openapi-react-query: Feature request" -about: Propose new functionality or a breaking change +description: Propose new functionality or a breaking change title: "" labels: - openapi-react-query @@ -20,7 +20,8 @@ body: validations: required: true - type: checkboxes - id: checklist + id: extra + label: Extra attributes: 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 165c98045..63cb36f05 100644 --- a/.github/ISSUE_TEMPLATE/04_swr-openapi-bug.yml +++ b/.github/ISSUE_TEMPLATE/04_swr-openapi-bug.yml @@ -1,5 +1,5 @@ name: "swr-openapi: Bug report" -about: Report a bug or unexpected behavior +description: Report a bug or unexpected behavior labels: - swr-openapi - bug @@ -31,7 +31,8 @@ body: validations: required: true - type: checkboxes - id: checklist + id: extra + label: Extra attributes: 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 e9acbe8dd..56da4825b 100644 --- a/.github/ISSUE_TEMPLATE/04_swr-openapi-feat.yml +++ b/.github/ISSUE_TEMPLATE/04_swr-openapi-feat.yml @@ -1,5 +1,5 @@ name: "swr-openapi: Feature request" -about: Propose new functionality or a breaking change +description: Propose new functionality or a breaking change title: "" labels: - swr-openapi @@ -20,7 +20,8 @@ body: validations: required: true - type: checkboxes - id: checklist + id: extra + label: Extra attributes: 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))