diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml index 1f9baf0..28476ec 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.yml +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -3,6 +3,36 @@ description: Report a bug title: '[Bug] ' labels: ['bug'] body: + - type: markdown + attributes: + value: | + Please follow our community communication guidelines when filing issues. + - Be polite and respectful. + - Prefer constructive, actionable feedback over venting. + - Include clear reproduction steps and environment details. + - Consider contributing a fix if possible — PRs are welcome. + + 提交 Issue 时请遵守社区沟通规范: + - 保持礼貌与尊重。 + - 提供建设性、可行动的反馈,避免情绪化表达。 + - 请包含清晰的复现步骤与环境信息。 + - 如果可以,欢迎直接提交修复 PR。 + + See: CODE_OF_CONDUCT.md / CODE_OF_CONDUCT_zh.md, CONTRIBUTING.md + + - type: checkboxes + id: community + attributes: + label: Community Communication / 社区沟通 + description: Confirm you will communicate respectfully and constructively / 确认将以礼貌、建设性的方式沟通 + options: + - label: I will be polite and respectful. / 我会保持礼貌与尊重。 + required: true + - label: I will share constructive, actionable details. / 我会提供建设性、可行动的细节。 + required: true + - label: I have read the Code of Conduct. / 我已阅读行为准则。 + required: true + - type: textarea id: description attributes: diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml new file mode 100644 index 0000000..5b75fba --- /dev/null +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -0,0 +1,17 @@ +blank_issues_enabled: false +contact_links: + - name: Questions & Ideas / 问题与想法(Discussions) + url: https://github.com/alibaba/page-agent/discussions + about: Use Discussions for Q&A and ideation. 使用 Discussions 进行问答与想法交流。 + - name: Security Report / 安全问题报告 + url: https://github.com/alibaba/page-agent/security/policy + about: Report security vulnerabilities responsibly. 通过安全页面报告漏洞。 + - name: Contributing Guide / 贡献指南 + url: https://github.com/alibaba/page-agent/blob/main/CONTRIBUTING.md + about: How to contribute code and ideas. 如何进行贡献与提交代码。 + - name: Code of Conduct / 行为准则 + url: https://github.com/alibaba/page-agent/blob/main/CODE_OF_CONDUCT.md + about: Community expectations and standards. 社区行为期望与标准。 + - name: 行为准则(中文) + url: https://github.com/alibaba/page-agent/blob/main/CODE_OF_CONDUCT_zh.md + about: 中文版社区行为准则。 diff --git a/.github/ISSUE_TEMPLATE/feature_request.yml b/.github/ISSUE_TEMPLATE/feature_request.yml index f33ba94..98811a2 100644 --- a/.github/ISSUE_TEMPLATE/feature_request.yml +++ b/.github/ISSUE_TEMPLATE/feature_request.yml @@ -3,6 +3,36 @@ description: Suggest a feature title: '[Feature] ' labels: ['enhancement'] body: + - type: markdown + attributes: + value: | + Please follow our community communication guidelines when proposing features. + - Be polite and respectful. + - Explain the problem first, then propose solutions. + - Prefer constructive, actionable suggestions. + - Contributions are encouraged — consider opening a PR. + + 提交功能建议时请遵守社区沟通规范: + - 保持礼貌与尊重。 + - 先阐述问题,再提出解决方案。 + - 提供建设性、可行动的建议。 + - 鼓励代码贡献,欢迎直接提交 PR。 + + See: CODE_OF_CONDUCT.md / CODE_OF_CONDUCT_zh.md, CONTRIBUTING.md + + - type: checkboxes + id: community + attributes: + label: Community Communication / 社区沟通 + description: Confirm you will communicate respectfully and constructively / 确认将以礼貌、建设性的方式沟通 + options: + - label: I will be polite and respectful. / 我会保持礼貌与尊重。 + required: true + - label: I will share constructive, actionable suggestions. / 我会提供建设性、可行动的建议。 + required: true + - label: I have read the CODE_OF_CONDUCT.md and CONTRIBUTING.md. / 我已阅读行为准则。 + required: true + - type: textarea id: problem attributes: diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md index 24a62ee..6925d85 100644 --- a/.github/PULL_REQUEST_TEMPLATE.md +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -16,3 +16,13 @@ Brief description of changes. - [ ] Types/doc added Closes #(issue) + +## Requirements / 要求 + +- [ ] I will be polite and respectful. / 我会保持礼貌与尊重。 +- [ ] My comments and replies are constructive and actionable. / 我的评论与回复具有建设性。 +- [ ] I have read and follow the [Code of Conduct](CODE_OF_CONDUCT.md) and [Contributing Guide](CONTRIBUTING.md) . / 我已阅读并遵守行为准则。 + +## Contributing / 贡献 + +Constructive suggestions and code contributions are encouraged. If this PR originated from a discussion or issue, please link it above. 欢迎建设性意见与代码贡献;如源自讨论或 Issue,请在上方关联链接。