From b7ffdc9d8f10736b887534fa686d09f02dd61b0c Mon Sep 17 00:00:00 2001 From: NAHO <90870942+trueNAHO@users.noreply.github.com> Date: Tue, 20 Aug 2024 22:41:28 +0200 Subject: [PATCH] doc: add GitHub issue templates Add GitHub issue templates to standardize issue formatting and reduce maintainer effort. Closes: https://github.com/danth/stylix/issues/268 Link: https://docs.github.com/en/communities/using-templates-to-encourage-useful-issues-and-pull-requests/syntax-for-issue-forms Link: https://github.com/danth/stylix/pull/516 Reviewed-by: Daniel Thwaites --- .github/ISSUE_TEMPLATE/bug.yml | 72 ++++++++++++++++++++++++++++++++++ 1 file changed, 72 insertions(+) create mode 100644 .github/ISSUE_TEMPLATE/bug.yml diff --git a/.github/ISSUE_TEMPLATE/bug.yml b/.github/ISSUE_TEMPLATE/bug.yml new file mode 100644 index 000000000..25e432202 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug.yml @@ -0,0 +1,72 @@ +--- +description: Report a bug. +labels: [bug] +name: Bug +title: ": " + +body: + - type: textarea + + attributes: + description: >- + Describe the issue in detail. Consider including a minimal working + example, logs, or screenshots. + + label: Description + + validations: + required: true + + - type: textarea + + attributes: + description: >- + Copy-paste the `flake.lock` file. If flakes are not used, provide the + locked input versions. + + label: flake.lock + + placeholder: |- + { + "nodes": { + }, + "root": "root", + "version": 7 + } + + render: json + + validations: + required: true + + - type: dropdown + + attributes: + description: How is Stylix installed? + label: Installation Method + + options: + - NixOS + - Home Manager + - nix-darwin + - Other + + validations: + required: true + + - type: textarea + + attributes: + description: "`nix-info --markdown` output." + label: System Information + + placeholder: |- + - system: + - host os: + - multi-user?: + - sandbox: + - version: + - nixpkgs: + + validations: + required: true