From f367aef56c7cea1cf129d54116f0f466b56261e6 Mon Sep 17 00:00:00 2001 From: Marko Bevc Date: Tue, 28 Jul 2026 13:22:07 +0100 Subject: [PATCH 1/3] docs: add issue templates for bug reports and feature requests Adds GitHub Issue Forms under .github/ISSUE_TEMPLATE/: - bug_report.yml - feature_request.yml - config.yml linking to docs.kosli.com --- .github/ISSUE_TEMPLATE/bug_report.yml | 55 ++++++++++++++++++++++ .github/ISSUE_TEMPLATE/config.yml | 5 ++ .github/ISSUE_TEMPLATE/feature_request.yml | 33 +++++++++++++ .github/pull_request_template.md | 4 +- 4 files changed, 94 insertions(+), 3 deletions(-) create mode 100644 .github/ISSUE_TEMPLATE/bug_report.yml create mode 100644 .github/ISSUE_TEMPLATE/config.yml create mode 100644 .github/ISSUE_TEMPLATE/feature_request.yml diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml new file mode 100644 index 000000000..e10b10b66 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -0,0 +1,55 @@ +name: Bug report +description: Report a problem with the Kosli CLI +title: "bug: " +labels: ["bug"] +body: + - type: markdown + attributes: + value: Thanks for taking the time to file a bug report! + - type: checkboxes + id: preflight + attributes: + label: Preflight + options: + - label: I searched existing issues and didn't find a duplicate. + required: true + - type: textarea + id: what-happened + attributes: + label: What happened? + description: A clear description of the bug, including what you expected to happen instead. + validations: + required: true + - type: textarea + id: reproduce + attributes: + label: Steps to reproduce + description: The exact `kosli` command(s) you ran and any relevant flags or config. Redact any tokens or secrets. + placeholder: | + 1. Run `kosli ...` + 2. ... + validations: + required: true + - type: input + id: version + attributes: + label: CLI version + description: Output of `kosli version`. + placeholder: v2.x.y + validations: + required: true + - type: textarea + id: environment + attributes: + label: Environment + description: OS, CI system, and how you installed the CLI (script, brew, Docker, etc.). + validations: + required: false + - type: textarea + id: logs + attributes: + label: Logs / output + description: Relevant output, ideally with `--debug`. This will be rendered as code, so no need for backticks. Redact any tokens or secrets. + render: shell + validations: + required: false diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml new file mode 100644 index 000000000..b9942e218 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -0,0 +1,5 @@ +blank_issues_enabled: true +contact_links: + - name: Kosli documentation + url: https://docs.kosli.com + about: Guides and reference for the Kosli CLI and platform. diff --git a/.github/ISSUE_TEMPLATE/feature_request.yml b/.github/ISSUE_TEMPLATE/feature_request.yml new file mode 100644 index 000000000..f6157652e --- /dev/null +++ b/.github/ISSUE_TEMPLATE/feature_request.yml @@ -0,0 +1,33 @@ +name: Feature request +description: Suggest an idea or enhancement for the Kosli CLI +title: "feat: " +labels: ["enhancement"] +body: + - type: checkboxes + id: preflight + attributes: + label: Preflight + options: + - label: I searched existing issues and didn't find a duplicate. + required: true + - type: textarea + id: problem + attributes: + label: What problem are you trying to solve? + description: Describe the use case or pain point. What are you trying to achieve? + validations: + required: true + - type: textarea + id: proposal + attributes: + label: Proposed solution + description: What would you like the CLI to do? Include example commands or flags if you have them in mind. + validations: + required: true + - type: textarea + id: alternatives + attributes: + label: Alternatives considered + description: Any workarounds or other approaches you've thought about. + validations: + required: false diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md index 71d60859d..ac57c18b8 100644 --- a/.github/pull_request_template.md +++ b/.github/pull_request_template.md @@ -1,8 +1,6 @@ -## Description - -## Checklist +### Checklist - [ ] **Helm chart** (`charts/k8s-reporter/`) updated, if needed. Note: these changes live in a **separate PR** - [ ] **Terraform provider** and related changes ([terraform-provider-kosli](https://github.com/kosli-dev/terraform-provider-kosli), [terraform-aws-evidence-reporter](https://github.com/kosli-dev/terraform-aws-evidence-reporter), [terraform-aws-kosli-reporter](https://github.com/kosli-dev/terraform-aws-kosli-reporter)) updated, if needed From 14ac70a1346693c726df19e3aed0591879290f35 Mon Sep 17 00:00:00 2001 From: Marko Bevc Date: Tue, 28 Jul 2026 14:31:32 +0100 Subject: [PATCH 2/3] Update .github/ISSUE_TEMPLATE/feature_request.yml Co-authored-by: claude[bot] <209825114+claude[bot]@users.noreply.github.com> --- .github/ISSUE_TEMPLATE/feature_request.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/ISSUE_TEMPLATE/feature_request.yml b/.github/ISSUE_TEMPLATE/feature_request.yml index f6157652e..a8daa6990 100644 --- a/.github/ISSUE_TEMPLATE/feature_request.yml +++ b/.github/ISSUE_TEMPLATE/feature_request.yml @@ -3,6 +3,10 @@ description: Suggest an idea or enhancement for the Kosli CLI title: "feat: " labels: ["enhancement"] body: + - type: markdown + attributes: + value: Thanks for taking the time to suggest an improvement! + - type: checkboxes - type: checkboxes id: preflight attributes: From 70241069b03099b0d8d4fb34bd775ba51e83a5ec Mon Sep 17 00:00:00 2001 From: Marko Bevc Date: Tue, 28 Jul 2026 14:36:51 +0100 Subject: [PATCH 3/3] Update .github/ISSUE_TEMPLATE/feature_request.yml Co-authored-by: claude[bot] <209825114+claude[bot]@users.noreply.github.com> --- .github/ISSUE_TEMPLATE/feature_request.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/ISSUE_TEMPLATE/feature_request.yml b/.github/ISSUE_TEMPLATE/feature_request.yml index a8daa6990..411b13a4d 100644 --- a/.github/ISSUE_TEMPLATE/feature_request.yml +++ b/.github/ISSUE_TEMPLATE/feature_request.yml @@ -6,7 +6,6 @@ body: - type: markdown attributes: value: Thanks for taking the time to suggest an improvement! - - type: checkboxes - type: checkboxes id: preflight attributes: