Add .github

This commit is contained in:
Dongri Jin
2022-12-12 13:46:43 +09:00
parent fcba869838
commit 5d050e8432
3 changed files with 77 additions and 1 deletions

56
.github/bug_report.yml vendored Normal file
View File

@ -0,0 +1,56 @@
name: Bug report
description: Create a report to help us improve
labels: ["bug"]
body:
- type: markdown
attributes:
value: |
Thanks for taking the time to fill out this bug report!
- type: textarea
id: what-happened
attributes:
label: Describe the bug
description: A clear and concise description of what the bug is, and any additional context.
placeholder: Tell us what you see!
validations:
required: true
- type: textarea
id: repro-steps
attributes:
label: To Reproduce
description: Steps to reproduce the behavior.
placeholder: |
1. Fetch a '...'
2. Update the '....'
3. See error
validations:
required: true
- type: textarea
id: code-snippets
attributes:
label: Code snippets
description: If applicable, add code snippets to help explain your problem.
render: JavaScript
validations:
required: false
- type: input
id: os
attributes:
label: OS
placeholder: macOS
validations:
required: true
- type: input
id: language-version
attributes:
label: Rust version
placeholder: Rust v1.64.0
validations:
required: true
- type: input
id: lib-version
attributes:
label: Library version
placeholder: openai-api-rs v0.1.0
validations:
required: true

20
.github/feature_request.yml vendored Normal file
View File

@ -0,0 +1,20 @@
name: Feature request
description: Suggest an idea for this library
labels: ["feature-request"]
body:
- type: markdown
attributes:
value: |
Thanks for taking the time to fill out this feature request!
- type: textarea
id: feature
attributes:
label: Describe the feature or improvement you're requesting
description: A clear and concise description of what you want to happen.
validations:
required: true
- type: textarea
id: context
attributes:
label: Additional context
description: Add any other context about the feature request here.