1
0
mirror of https://github.com/j178/prek.git synced 2026-04-03 17:34:03 +02:00
Files
prek/.github/ISSUE_TEMPLATE/bug_report.yaml
Jo 2bb96c50d9 Require .pre-commit-config.yaml and log file in bug report (#1469)
Make the attachment of configuration and log files mandatory in the bug
report template.
2026-01-24 15:18:02 +08:00

50 lines
1.5 KiB
YAML

name: Bug report
description: Create a report to help us improve prek
body:
- type: textarea
attributes:
label: Summary
description: |
A clear and concise description of the bug, including a minimal reproducible example.
If we cannot reproduce the bug, it is unlikely that we will be able to help you.
validations:
required: true
- type: input
attributes:
label: Platform
description: What operating system and architecture are you using? (see `uname -orsm`)
placeholder: e.g., macOS 14 arm64, Windows 11 x86_64, Ubuntu 20.04 amd64
validations:
required: true
- type: input
attributes:
label: Version
description: What version of prek are you using? (see `prek -V`)
placeholder: e.g., prek 0.2.3 (7fe75a86d 2025-09-29)
validations:
required: true
- type: textarea
attributes:
label: .pre-commit-config.yaml
description: |
Please attach or paste the contents of your `.pre-commit-config.yaml` file if relevant.
validations:
required: true
- type: textarea
attributes:
label: Log file
description: |
Please attach or paste the contents of the trace log file located at:
- Linux/macOS: `~/.cache/prek/prek.log`
- Windows: `%LOCALAPPDATA%\prek\prek.log`
If the log file doesn't exist or is empty, please run your command with increased verbosity:
```bash
prek -vvv [your command]
```
validations:
required: true