Skip to content

Commit 2ef29b7

Browse files
authored
Merge pull request pre-commit#2039 from pre-commit/issue-form
add a bug report issue form
2 parents 36b8ad6 + 09ffe42 commit 2ef29b7

File tree

1 file changed

+41
-0
lines changed

1 file changed

+41
-0
lines changed

.github/ISSUE_TEMPLATE/bug.yaml

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
name: bug report
2+
description: something went wrong
3+
body:
4+
- type: markdown
5+
attributes:
6+
value: |
7+
this is for issues for `pre-commit` (the framework).
8+
if you are reporting an issue for [pre-commit.ci] please report it at [pre-commit-ci/issues]
9+
10+
[pre-commit.ci]: https://pre-commit.ci
11+
[pre-commit-ci/issues]: https://github.com/pre-commit-ci/issues
12+
- type: textarea
13+
id: freeform
14+
attributes:
15+
label: describe your issue
16+
placeholder: 'I was doing ... I ran ... I expected ... I got ...'
17+
validations:
18+
required: true
19+
- type: input
20+
id: version
21+
attributes:
22+
label: pre-commit --version
23+
placeholder: pre-commit x.x.x
24+
validations:
25+
required: true
26+
- type: textarea
27+
id: configuration
28+
attributes:
29+
label: .pre-commit-config.yaml
30+
description: (auto-rendered as yaml, no need for backticks)
31+
placeholder: 'repos: ...'
32+
render: yaml
33+
validations:
34+
required: true
35+
- type: textarea
36+
id: error-log
37+
attributes:
38+
label: '~/.cache/pre-commit/pre-commit.log (if present)'
39+
placeholder: "### version information\n..."
40+
validations:
41+
required: false

0 commit comments

Comments
 (0)