Skip to content

Commit

Permalink
feat: add issue template
Browse files Browse the repository at this point in the history
  • Loading branch information
albertcht committed Sep 11, 2024
1 parent a821ec2 commit df151a8
Show file tree
Hide file tree
Showing 2 changed files with 57 additions and 0 deletions.
46 changes: 46 additions & 0 deletions .github/ISSUE_TEMPLATE/Bug_report.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
name: Bug Report
description: "Report something that's broken."
body:
- type: markdown
attributes:
value: "Please read [our full contribution guide](https://laravel-hyperf.com/docs/contributions#bug-reports) before submitting bug reports. If you notice improper DocBlock, PHPStan, or IDE warnings while using Laravel Hyperf, do not create a GitHub issue. Instead, please submit a pull request to fix the problem."
- type: input
attributes:
label: Hyperf Version
description: Provide the Hyperf version that you installed.
placeholder: 3.1.39
validations:
required: false
- type: input
attributes:
label: PHP Version
description: Provide the PHP version that you are using.
placeholder: 8.1.4
validations:
required: true
- type: input
attributes:
label: Swoole Extension Version
description: Provide the Swoole extension version that you are using (You can get it by running `php --ri swoole`).
placeholder: 5.1.2
validations:
required: true
- type: input
attributes:
label: Database Driver & Version
description: If applicable, provide the database driver and version you are using.
placeholder: "MySQL 8.0.31 for macOS 13.0 on arm64 (Homebrew)"
validations:
required: false
- type: textarea
attributes:
label: Description
description: Provide a detailed description of the issue you are facing.
validations:
required: true
- type: textarea
attributes:
label: Steps To Reproduce
description: Provide detailed steps to reproduce your issue. If necessary, please provide a GitHub repository to demonstrate your issue.
validations:
required: true
11 changes: 11 additions & 0 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
blank_issues_enabled: false
contact_links:
- name: Feature request
url: https://github.com/swooletw/hyperf-packages/discussions
about: 'For ideas or feature requests, start a new discussion'
- name: Support Questions & Other
url: https://laravel-hyperf.com/docs/contributions.html#support-questions
about: 'This repository is only for reporting bugs. If you have a question or need help using the library, click:'
- name: Documentation issue
url: https://github.com/swooletw/laravel-hyperf.com
about: For documentation issues, open a pull request at the laravel-hyperf.com repository

0 comments on commit df151a8

Please sign in to comment.