summaryrefslogtreecommitdiffstats
path: root/.github/ISSUE_TEMPLATE/00_bug.yaml
blob: 980f7afee9530d987ff11cf1dbcaca6e24a143bc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
name: bug report
description: something went wrong
body:
  - type: markdown
    attributes:
      value: |
         this is for issues for `pre-commit` (the framework).
         if you are reporting an issue for [pre-commit.ci] please report it at [pre-commit-ci/issues]

         [pre-commit.ci]: https://pre-commit.ci
         [pre-commit-ci/issues]: https://github.com/pre-commit-ci/issues
  - type: input
    id: search
    attributes:
      label: search you tried in the issue tracker
      placeholder: ...
    validations:
      required: true
  - type: markdown
    attributes:
      value: |
        95% of issues created are duplicates.
        please try extra hard to find them first.
        it's very unlikely your problem is unique.
  - type: textarea
    id: freeform
    attributes:
      label: describe your issue
      placeholder: 'I was doing ... I ran ... I expected ... I got ...'
    validations:
      required: true
  - type: input
    id: version
    attributes:
      label: pre-commit --version
      placeholder: pre-commit x.x.x
    validations:
      required: true
  - type: textarea
    id: configuration
    attributes:
      label: .pre-commit-config.yaml
      description: (auto-rendered as yaml, no need for backticks)
      placeholder: 'repos: ...'
      render: yaml
    validations:
      required: true
  - type: textarea
    id: error-log
    attributes:
      label: '~/.cache/pre-commit/pre-commit.log (if present)'
      placeholder: "### version information\n..."
    validations:
      required: false