From 8f17b7690b303486970607145b9ace01bf1d8e77 Mon Sep 17 00:00:00 2001 From: Elizabeth Maher Date: Mon, 22 Jun 2026 21:13:29 -0700 Subject: [PATCH 1/6] feat: add GitHub issue templates for bugs, features, and questions Adds YAML-based issue forms: - bug-report.yml (labels: bug) - feature-request.yml (labels: type:feature) - question.yml (labels: question) --- .github/ISSUE_TEMPLATE/bug-report.yml | 59 ++++++++++++++++++++++ .github/ISSUE_TEMPLATE/feature-request.yml | 28 ++++++++++ .github/ISSUE_TEMPLATE/question.yml | 19 +++++++ 3 files changed, 106 insertions(+) create mode 100644 .github/ISSUE_TEMPLATE/bug-report.yml create mode 100644 .github/ISSUE_TEMPLATE/feature-request.yml create mode 100644 .github/ISSUE_TEMPLATE/question.yml diff --git a/.github/ISSUE_TEMPLATE/bug-report.yml b/.github/ISSUE_TEMPLATE/bug-report.yml new file mode 100644 index 00000000..571e768b --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug-report.yml @@ -0,0 +1,59 @@ +name: Bug Report +description: Report a bug with apiops CLI +labels: ["bug"] +body: + - type: input + id: command + attributes: + label: Command that triggered the bug + description: Which CLI command were you running? + placeholder: "apiops init" + validations: + required: true + + - type: textarea + id: expected-behavior + attributes: + label: Expected behavior + description: What did you expect to happen? + validations: + required: true + + - type: textarea + id: actual-behavior + attributes: + label: Actual behavior + description: What actually happened? + validations: + required: true + + - type: input + id: version + attributes: + label: npm package version + description: Which version of apiops are you using? + placeholder: "1.0.0" + validations: + required: true + + - type: textarea + id: environment + attributes: + label: Environment details + description: "OS, Node.js version, shell, and any other relevant info." + placeholder: | + - OS: Windows 11 + - Node.js: 20.11.0 + - Shell: PowerShell 7.4 + validations: + required: true + + - type: dropdown + id: blocking + attributes: + label: Is this bug blocking you? + options: + - "Yes" + - "No" + validations: + required: true diff --git a/.github/ISSUE_TEMPLATE/feature-request.yml b/.github/ISSUE_TEMPLATE/feature-request.yml new file mode 100644 index 00000000..f334ee14 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/feature-request.yml @@ -0,0 +1,28 @@ +name: Feature Request +description: Suggest a new feature or enhancement +labels: ["type:feature"] +body: + - type: textarea + id: problem + attributes: + label: Problem or use case + description: What problem does this solve? + validations: + required: true + + - type: textarea + id: solution + attributes: + label: Proposed solution + description: Describe the solution you'd like + validations: + required: true + + - type: input + id: affected-command + attributes: + label: Affected command + description: Which command does this relate to, if any? + placeholder: "apiops generate" + validations: + required: false diff --git a/.github/ISSUE_TEMPLATE/question.yml b/.github/ISSUE_TEMPLATE/question.yml new file mode 100644 index 00000000..a994e57a --- /dev/null +++ b/.github/ISSUE_TEMPLATE/question.yml @@ -0,0 +1,19 @@ +name: Question +description: Ask a usage question or request clarification +labels: ["question"] +body: + - type: textarea + id: question + attributes: + label: Question + description: What would you like to know? + validations: + required: true + + - type: textarea + id: context + attributes: + label: Context + description: Any additional context that might help us answer + validations: + required: false From d8839ac48dac873cf3e53b3b06e6cb8fd05c3514 Mon Sep 17 00:00:00 2001 From: Elizabeth Maher Date: Tue, 23 Jun 2026 09:32:33 -0700 Subject: [PATCH 2/6] fix: add version lookup instructions to bug report template --- .github/ISSUE_TEMPLATE/bug-report.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/ISSUE_TEMPLATE/bug-report.yml b/.github/ISSUE_TEMPLATE/bug-report.yml index 571e768b..b41a4a8c 100644 --- a/.github/ISSUE_TEMPLATE/bug-report.yml +++ b/.github/ISSUE_TEMPLATE/bug-report.yml @@ -31,7 +31,7 @@ body: id: version attributes: label: npm package version - description: Which version of apiops are you using? + description: "Run `npm list @azure/apiops` or check your package.json to find the version." placeholder: "1.0.0" validations: required: true From b583efd8cfc9e97669007a3f60f3d31c675e098b Mon Sep 17 00:00:00 2001 From: Elizabeth Maher Date: Tue, 23 Jun 2026 09:36:52 -0700 Subject: [PATCH 3/6] feat: add optional CI/CD environment dropdown to bug report --- .github/ISSUE_TEMPLATE/bug-report.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/.github/ISSUE_TEMPLATE/bug-report.yml b/.github/ISSUE_TEMPLATE/bug-report.yml index b41a4a8c..0f5e140a 100644 --- a/.github/ISSUE_TEMPLATE/bug-report.yml +++ b/.github/ISSUE_TEMPLATE/bug-report.yml @@ -48,6 +48,19 @@ body: validations: required: true + - type: dropdown + id: ci-cd + attributes: + label: CI/CD environment + description: If this bug occurs in a CI/CD pipeline, which platform are you using? + options: + - "N/A (running locally)" + - "GitHub Actions" + - "Azure DevOps" + - "Other" + validations: + required: false + - type: dropdown id: blocking attributes: From 7cc55bf2485a1bbf4b48241d4cc76f4d7540db2d Mon Sep 17 00:00:00 2001 From: Elizabeth Maher Date: Tue, 23 Jun 2026 11:09:43 -0700 Subject: [PATCH 4/6] Potential fix for pull request finding Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> --- .github/ISSUE_TEMPLATE/bug-report.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/bug-report.yml b/.github/ISSUE_TEMPLATE/bug-report.yml index 0f5e140a..5735ff81 100644 --- a/.github/ISSUE_TEMPLATE/bug-report.yml +++ b/.github/ISSUE_TEMPLATE/bug-report.yml @@ -30,9 +30,7 @@ body: - type: input id: version attributes: - label: npm package version - description: "Run `npm list @azure/apiops` or check your package.json to find the version." - placeholder: "1.0.0" + description: "Run `apiops --version` (or `npm list -g @peterhauge/apiops-cli`) to find the installed version." validations: required: true From 69b106f2fc0ed364a582df785b3be8c4f71ee50e Mon Sep 17 00:00:00 2001 From: Elizabeth Maher Date: Tue, 23 Jun 2026 11:09:59 -0700 Subject: [PATCH 5/6] Potential fix for pull request finding Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> --- .github/ISSUE_TEMPLATE/feature-request.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/feature-request.yml b/.github/ISSUE_TEMPLATE/feature-request.yml index f334ee14..f726d4ba 100644 --- a/.github/ISSUE_TEMPLATE/feature-request.yml +++ b/.github/ISSUE_TEMPLATE/feature-request.yml @@ -21,8 +21,6 @@ body: - type: input id: affected-command attributes: - label: Affected command - description: Which command does this relate to, if any? - placeholder: "apiops generate" + placeholder: "apiops extract" validations: required: false From 98356d1cb3bac13b94ddfe40b27223e7956ed18b Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Tue, 23 Jun 2026 23:15:54 +0000 Subject: [PATCH 6/6] fix: remove environment placeholder and make blocking field optional in bug report template --- .github/ISSUE_TEMPLATE/bug-report.yml | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/bug-report.yml b/.github/ISSUE_TEMPLATE/bug-report.yml index 5735ff81..94f90e1e 100644 --- a/.github/ISSUE_TEMPLATE/bug-report.yml +++ b/.github/ISSUE_TEMPLATE/bug-report.yml @@ -39,10 +39,6 @@ body: attributes: label: Environment details description: "OS, Node.js version, shell, and any other relevant info." - placeholder: | - - OS: Windows 11 - - Node.js: 20.11.0 - - Shell: PowerShell 7.4 validations: required: true @@ -67,4 +63,4 @@ body: - "Yes" - "No" validations: - required: true + required: false