chore(github): add accelerated support notice for urgent issues (#712)

* chore(github): add support acceleration notice to issue templates and auto-comments

* chore(actions): make copilot auto-comment bilingual and single-message
This commit is contained in:
kl
2026-03-03 19:28:23 +08:00
committed by GitHub
parent 36a75e86ac
commit 7f16243270
3 changed files with 11 additions and 1 deletions

View File

@@ -11,6 +11,11 @@ body:
Please provide concrete business scenarios and the expected behavior.
请尽量提供明确业务场景和期望行为,便于评估优先级与实现方案。
For urgent production issues, you can use our Knowledge Planet channel for faster processing:
https://wx.zsxq.com/group/48844125114258
如为线上紧急问题,可通过知识星球渠道加速处理:
https://wx.zsxq.com/group/48844125114258
- type: textarea
id: background
attributes:

View File

@@ -14,6 +14,11 @@ body:
Incomplete issues may be closed and asked to resubmit.
信息不完整的问题可能会被关闭并要求重新提交。
For urgent production issues, you can use our Knowledge Planet channel for faster processing:
https://wx.zsxq.com/group/48844125114258
如为线上紧急问题,可通过知识星球渠道加速处理:
https://wx.zsxq.com/group/48844125114258
- type: dropdown
id: issue_type
attributes:

View File

@@ -22,7 +22,7 @@ jobs:
const owner = context.repo.owner;
const repo = context.repo.repo;
const body = `@copilot 请自动分诊并直接给出可执行建议(无需人工先介入):\n\n- 先判断类型:Bug / Performance / Security / Question / Feature\n- 检查 Issue 信息是否完整(版本、部署方式、复现步骤、日志)\n- 若信息不完整:请直接按模板列出缺失项并引导补充\n- 若信息较完整:请给出下一步排查建议与最小复现建议\n- 若判断为已知问题或已修复:请给出对应版本/修复方向\n\nIssue #${issue.number}\n标题:${issue.title}\n链接:${issue.html_url}`;
const body = `@copilot 请自动分诊并直接给出可执行建议(无需人工先介入):\n\n- 先判断类型:Bug / Performance / Security / Question / Feature\n- 检查 Issue 信息是否完整(版本、部署方式、复现步骤、日志)\n- 若信息不完整:请直接按模板列出缺失项并引导补充\n- 若信息较完整:请给出下一步排查建议与最小复现建议\n- 若判断为已知问题或已修复:请给出对应版本/修复方向\n\nIssue #${issue.number}\n标题:${issue.title}\n链接:${issue.html_url}\n\n---\n\n补充说明 / Support Notice:\n- GitHub Issues 会持续跟进处理 / We will continue to follow up through GitHub Issues.\n- 如为线上紧急问题,可通过知识星球渠道加速处理 / For urgent production issues, you can use our Knowledge Planet channel for faster processing:\n https://wx.zsxq.com/group/48844125114258`;
await github.rest.issues.createComment({
owner,