Skip to content

Add issue templates and PR template with required fields#1309

Merged
xin3he merged 3 commits intomainfrom
copilot/add-issue-template-requirements
Jan 22, 2026
Merged

Add issue templates and PR template with required fields#1309
xin3he merged 3 commits intomainfrom
copilot/add-issue-template-requirements

Conversation

Copy link
Contributor

Copilot AI commented Jan 21, 2026

Description

This PR adds structured GitHub issue templates that enforce submission requirements for bug reports and feature requests, plus a comprehensive pull request description template. The repository previously had no requirements for issue or PR submissions, allowing low-quality reports without essential information.

Type of Change

  • New feature (non-breaking change which adds functionality)
  • Bug fix (non-breaking change which fixes an issue)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation update
  • Performance improvement
  • Code refactoring
  • Other (please describe):

Related Issues

Relates to #

Changes Made

Issue Templates

  • Bug report template (bug_report.yml): Requires problem description and reproduction steps. Includes optional fields for environment, error logs, and context.
  • Feature request template (feature_request.yml): Requires feature description and motivation/use case. Includes optional "Definition of Done" section for defining completion criteria with checklist format.
  • Template config (config.yml): Disables blank issues, forcing users to use templates. Links to documentation and discussions.

Pull Request Template

  • PR description template (pull_request_template.md): Comprehensive template with structured sections for description, type of change, related issues, detailed changes, testing information, and quality checklist.

When users create issues, they must now complete required fields before submission. The PR template automatically appears when creating new pull requests, ensuring consistent and complete PR descriptions.

Issue Template Preview

Updated Templates Preview

Testing

  • Tested locally
  • Added/updated unit tests
  • All existing tests pass
  • Tested on specific hardware/environment (please specify): YAML validation performed for all template files

Checklist

  • My code follows the project's coding style
  • I have performed a self-review of my code
  • I have commented my code, particularly in hard-to-understand areas
  • I have updated the documentation accordingly
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes

Additional Context

All YAML files validated successfully. Templates follow GitHub's issue form syntax and PR template conventions. Required fields are properly marked with validations: required: true. These templates will improve the quality of contributions by ensuring essential information is provided.

Original prompt

这个repo提issue的时候没有任何要求,这样不好。我们需要要求用户必须提供问题描述和复现步骤


💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

…on and reproduction steps

Co-authored-by: xin3he <83260933+xin3he@users.noreply.github.com>
Copilot AI changed the title [WIP] Add issue template requiring description and steps to reproduce Add issue templates with required fields for problem description and reproduction steps Jan 21, 2026
Copilot AI requested a review from xin3he January 21, 2026 09:01
@xin3he
Copy link
Contributor

xin3he commented Jan 21, 2026

@copilot 如何预览改动后的效果

Copy link
Contributor Author

Copilot AI commented Jan 21, 2026

@copilot 如何预览改动后的效果

您可以通过以下方式预览 issue 模板效果:

方式1:PR 合并后在主分支预览

  1. 等待此 PR 合并到主分支
  2. 访问 https://github.com/intel/auto-round/issues
  3. 点击 "New issue" 按钮
  4. 将看到模板选择页面

方式2:在当前 PR 分支预览

  1. 在 PR 页面切换到 "Files changed" 标签
  2. 查看 .github/ISSUE_TEMPLATE/ 目录下的 YAML 文件
  3. 或访问 https://github.com/intel/auto-round/issues/new/choose(需要在此分支的仓库视图中)

模板效果预览:

Issue Template Preview

模板包含:

  • Bug Report: 必填字段为"问题描述"和"复现步骤"
  • Feature Request: 必填字段为"功能描述"和"使用场景"

用户必须填写标记为 * 的必填字段才能提交 issue。

@xin3he xin3he marked this pull request as ready for review January 21, 2026 09:09
Copilot AI review requested due to automatic review settings January 21, 2026 09:09
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds structured GitHub issue templates to enforce submission requirements for bug reports and feature requests, addressing the previous lack of quality control for issue submissions.

Changes:

  • Adds bug report and feature request templates with required fields for problem descriptions and reproduction steps
  • Configures template settings to disable blank issues, ensuring all submissions use the structured templates

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.

File Description
.github/ISSUE_TEMPLATE/bug_report.yml Bug report template requiring problem description and reproduction steps, with optional fields for environment, logs, and context
.github/ISSUE_TEMPLATE/feature_request.yml Feature request template requiring feature description and motivation/use case, with optional fields for alternatives and context
.github/ISSUE_TEMPLATE/config.yml Template configuration disabling blank issues and providing documentation/discussion links

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@xin3he xin3he added this to the 0.9.6 milestone Jan 21, 2026
@wenhuach21 wenhuach21 removed this from the 0.9.6 milestone Jan 21, 2026
@yiliu30
Copy link
Contributor

yiliu30 commented Jan 22, 2026

How about adding a template for PR desc as well? Thanks!

Copy link
Contributor

@thuang6 thuang6 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@xin3he
Copy link
Contributor

xin3he commented Jan 22, 2026

How about adding a template for PR desc as well? Thanks!

@copilot

…plate

Co-authored-by: xin3he <83260933+xin3he@users.noreply.github.com>
Copy link
Contributor Author

Copilot AI commented Jan 22, 2026

How about adding a template for PR desc as well? Thanks!

Added PR description template in commit 99db0c9. The template (.github/pull_request_template.md) includes structured sections for description, type of change, related issues, testing details, and a comprehensive checklist.

PR Template Preview

Copilot AI changed the title Add issue templates with required fields for problem description and reproduction steps Add issue templates and PR template with required fields Jan 22, 2026
Copilot AI requested a review from xin3he January 22, 2026 03:50
@xin3he xin3he merged commit eaf5885 into main Jan 22, 2026
6 checks passed
@xin3he xin3he deleted the copilot/add-issue-template-requirements branch January 22, 2026 04:48
lvliang-intel pushed a commit that referenced this pull request Feb 2, 2026
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: xin3he <83260933+xin3he@users.noreply.github.com>
Signed-off-by: lvliang-intel <liang1.lv@intel.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants