chore: add GitHub issue template (#7543)

https://github.blog/changelog/2021-06-23-issues-forms-beta-for-public-repositories/
This commit is contained in:
Mathias Bynens 2021-09-03 08:57:01 +02:00
parent 78941e562c
commit d4b17bd20a
2 changed files with 63 additions and 0 deletions

58
.github/ISSUE_TEMPLATE/bug.yml vendored Normal file
View File

@ -0,0 +1,58 @@
name: Bug report
description: File a bug report
title: '[Bug]: '
labels: [bug]
body:
- type: markdown
attributes:
value: |
Thanks for taking the time to fill out this bug report!
- type: textarea
id: summary
attributes:
label: Bug description
description: What did you do? What did you expect to happen? What actually happened instead?
value: |
Steps to reproduce the problem:
1. …
validations:
required: true
- type: input
id: puppeteer-version
attributes:
label: Puppeteer version
description: What version of Puppeteer are you running?
validations:
required: true
- type: input
id: node-version
attributes:
label: Node.js version
description: What version of Node.js are you running?
validations:
required: true
- type: input
id: npm-version
attributes:
label: npm version
description: What version of npm are you running?
validations:
required: true
- type: dropdown
id: operating-system
attributes:
label: What operating system are you seeing the problem on?
multiple: true
options:
- Linux
- macOS
- Windows
validations:
required: true
- type: textarea
id: logs
attributes:
label: Relevant log output
description: Please copy and paste any relevant log output. No need for backticks — this automatically gets formatted into code.
render: shell

5
.github/ISSUE_TEMPLATE/config.yml vendored Normal file
View File

@ -0,0 +1,5 @@
blank_issues_enabled: true
contact_links:
- name: General Puppeteer questions
url: https://stackoverflow.com/questions/tagged/puppeteer
about: For general technical questions or “how to” guidance, please search StackOverflow for questions tagged “puppeteer” or create a new post.