summaryrefslogtreecommitdiffstats
path: root/.github/ISSUE_TEMPLATE/bug.yaml
blob: bfced0f2973dea86cebf2473a5b6cceaf959f1af (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
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 tried in the issue tracker
      placeholder: ...
    validations:
      required: true
  - 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