Skip to content

Commit b314a0d

Browse files
authored
Merge pull request #379 from crazy-max/form-templates
chore: github form templates
2 parents 775fb7c + c9e3f1b commit b314a0d

4 files changed

Lines changed: 112 additions & 40 deletions

File tree

.github/ISSUE_TEMPLATE/bug.yml

Lines changed: 91 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,91 @@
1+
# https://docs.github.com/en/communities/using-templates-to-encourage-useful-issues-and-pull-requests/syntax-for-githubs-form-schema
2+
name: Bug Report
3+
description: Report a bug
4+
labels:
5+
- kind/bug
6+
- status/triage
7+
8+
body:
9+
- type: checkboxes
10+
attributes:
11+
label: Support guidelines
12+
description: Please read the support guidelines before proceeding.
13+
options:
14+
- label: I've read the [support guidelines](https://github.com/librenms/docker/blob/master/.github/SUPPORT.md)
15+
required: true
16+
17+
- type: checkboxes
18+
attributes:
19+
label: I've found a bug and checked that ...
20+
description: |
21+
Make sure that your request fulfills all of the following requirements. If one requirement cannot be satisfied, explain in detail why.
22+
options:
23+
- label: ... the documentation does not mention anything about my problem
24+
- label: ... there are no open or closed issues that are related to my problem
25+
26+
- type: textarea
27+
attributes:
28+
label: Description
29+
description: |
30+
Please provide a brief description of the bug in 1-2 sentences.
31+
validations:
32+
required: true
33+
34+
- type: textarea
35+
attributes:
36+
label: Expected behaviour
37+
description: |
38+
Please describe precisely what you'd expect to happen.
39+
validations:
40+
required: true
41+
42+
- type: textarea
43+
attributes:
44+
label: Actual behaviour
45+
description: |
46+
Please describe precisely what is actually happening.
47+
validations:
48+
required: true
49+
50+
- type: textarea
51+
attributes:
52+
label: Steps to reproduce
53+
description: |
54+
Please describe the steps to reproduce the bug.
55+
placeholder: |
56+
1. ...
57+
2. ...
58+
3. ...
59+
validations:
60+
required: true
61+
62+
- type: textarea
63+
attributes:
64+
label: Docker info
65+
description: |
66+
Output of `docker info` command.
67+
render: text
68+
validations:
69+
required: true
70+
71+
- type: textarea
72+
attributes:
73+
label: Docker Compose config
74+
description: |
75+
Output of `docker compose config` command.
76+
render: yaml
77+
78+
- type: textarea
79+
attributes:
80+
label: Logs
81+
description: |
82+
Please provide the container logs (set `LOG_LEVEL=debug` if applicable).
83+
render: text
84+
validations:
85+
required: true
86+
87+
- type: textarea
88+
attributes:
89+
label: Additional info
90+
description: |
91+
Please provide any additional information that seem useful.

.github/ISSUE_TEMPLATE/bug_report.md

Lines changed: 0 additions & 40 deletions
This file was deleted.

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# https://docs.github.com/en/communities/using-templates-to-encourage-useful-issues-and-pull-requests/configuring-issue-templates-for-your-repository#configuring-the-template-chooser
2+
blank_issues_enabled: true
3+
contact_links:
4+
- name: Questions and Discussions
5+
url: https://github.com/librenms/docker/discussions/new
6+
about: Use Github Discussions to ask questions and/or open discussion topics.

.github/ISSUE_TEMPLATE/feature.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# https://docs.github.com/en/communities/using-templates-to-encourage-useful-issues-and-pull-requests/syntax-for-githubs-form-schema
2+
name: Feature request
3+
description: Missing functionality? Come tell us about it!
4+
labels:
5+
- kind/enhancement
6+
- status/triage
7+
8+
body:
9+
- type: textarea
10+
id: description
11+
attributes:
12+
label: Description
13+
description: What is the feature you want to see?
14+
validations:
15+
required: true

0 commit comments

Comments
 (0)