Skip to content

Commit

Permalink
docs(github): issue templates
Browse files Browse the repository at this point in the history
  • Loading branch information
zhaiyuxin103 committed Feb 1, 2025
1 parent 0305705 commit c2aaab2
Show file tree
Hide file tree
Showing 2 changed files with 50 additions and 0 deletions.
39 changes: 39 additions & 0 deletions .github/ISSUE_TEMPLATE/Bug_report.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: Bug 报告
description: '报告一些无法正常工作的问题'
body:
- type: markdown
attributes:
value: '请在提交错误报告之前阅读[我们的完整贡献指南](https://zhaiyuxin103.github.io/laravel-skeleton-docs/contributing.html#%E6%BC%8F%E6%B4%9E%E6%8A%A5%E5%91%8A)。如果您在使用 Laravel Skeleton 时发现不正确的 DocBlock、PHPStan 或 IDE 警告,请不要创建 GitHub 问题。相反,请提交拉取请求来修复问题。'
- type: input
attributes:
label: Laravel 版本
description: 提供您正在使用的 Laravel 版本。[请确保它仍然受支持](https://laravel.com/docs/releases#support-policy)
placeholder: 10.4.1
validations:
required: true
- type: input
attributes:
label: PHP 版本
description: 提供您正在使用的 PHP 版本
placeholder: 8.1.4
validations:
required: true
- type: input
attributes:
label: 数据库驱动及版本
description: 如果适用,请提供您正在使用的数据库驱动和版本
placeholder: 'MySQL 8.0.31 for macOS 13.0 on arm64 (Homebrew)'
validations:
required: false
- type: textarea
attributes:
label: 问题描述
description: 详细描述您遇到的问题
validations:
required: true
- type: textarea
attributes:
label: 重现步骤
description: 提供详细的重现步骤。如有必要,请提供一个 GitHub 仓库来演示您的问题
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: true
contact_links:
- name: 功能请求
url: https://github.com/zhaiyuxin103/laravel-skeleton/discussions
about: '提交新功能请求或想法请创建讨论'
- name: 支持问题和其他
url: https://zhaiyuxin103.github.io/laravel-skeleton-docs/contributing.html#%E6%94%AF%E6%8C%81%E9%97%AE%E9%A2%98
about: '本仓库仅用于报告错误。如有使用问题需要帮助,请点击:'
- name: 文档问题
url: https://github.com/zhaiyuxin103/laravel-skeleton-docs
about: 文档问题请前往 laravel-skeleton-docs 仓库提交拉取请求

0 comments on commit c2aaab2

Please sign in to comment.