Update bug-report.yml

Fix bug report template to work with new YAML config rules
This commit is contained in:
Denise Yu 2021-02-19 15:43:55 -05:00 committed by GitHub
parent f3f4ef274b
commit 4fa2466b7d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 7 additions and 4 deletions

View File

@ -4,27 +4,30 @@ about: Something is not working correctly.
title: ""
labels: "S: needs triage, type: bug"
issue_body: true # default: true, adds a classic WSYWIG textarea, if on
inputs:
- type: description
body:
- type: markdown
attributes:
value: |
If you're reporting an issue for `--use-feature=2020-resolver`,
use the "Dependency resolver failures / errors" template instead.
- type: description
- type: markdown
attributes:
value: "**Environment**"
- type: input
attributes:
label: pip version
validations:
required: true
- type: input
attributes:
label: Python version
validations:
required: true
- type: input
attributes:
label: OS
validations:
required: true
- type: textarea
attributes:
@ -72,7 +75,7 @@ inputs:
Read the [PSF Code of Conduct][CoC] first.
[CoC]: https://github.com/pypa/.github/blob/main/CODE_OF_CONDUCT.md
choices:
options:
- label: I agree to follow the PSF Code of Conduct
required: true
...