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 <danthwaites30@btinternet.com>
This commit is contained in:
NAHO 2024-08-20 22:41:28 +02:00
parent 94d70292d0
commit b7ffdc9d8f
No known key found for this signature in database
GPG key ID: 229CB671D09B95F5

72
.github/ISSUE_TEMPLATE/bug.yml vendored Normal file
View file

@ -0,0 +1,72 @@
---
description: Report a bug.
labels: [bug]
name: Bug
title: "<SCOPE>: <SUMMARY>"
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