Let's use AI to Earn!
TypeScript auto-publishdouyindouyin-apielectron-appelectron-reactkuaishoukwaipublishedshipinhaotoolxiaohongshu
chore(templates): update PR template and add draft issue template (#208)
yikae87f01bc4fe0
diff --git a/.github/ISSUE_TEMPLATE/draft.yml b/.github/ISSUE_TEMPLATE/draft.ymlnew file mode 100644index 00000000..c9ad7b7e--- /dev/null+++ b/.github/ISSUE_TEMPLATE/draft.yml@@ -0,0 +1,40 @@+name: General Issue+description: Report a bug, request a feature, or ask a question+title: "[Issue] "+labels: []+body:+ - type: markdown+ attributes:+ value: |+ ### What happened?+ (One short sentence)++ - type: textarea+ id: what-happened+ attributes:+ label: What happened?+ description: Describe the issue in one short sentence.+ placeholder: Something happened...+ validations:+ required: true++ - type: checkboxes+ id: type+ attributes:+ label: Type+ options:+ - label: Bug+ - label: Idea+ - label: Improvement+ - label: Question+ validations:+ required: true++ - type: textarea+ id: extra+ attributes:+ label: Extra (optional)+ description: Screenshot / steps to reproduce / environment+ placeholder: Attach screenshot / describe steps...+ validations:+ required: falsediff --git a/.github/pull_request_template.md b/.github/pull_request_template.mdindex 6bfbd657..5ff2f585 100644--- a/.github/pull_request_template.md+++ b/.github/pull_request_template.md@@ -3,35 +3,17 @@## 🧩 Issue Link<!---必填:请至少关联一个 Issue。-关闭型:Closes #123 / Fixes #123 / Resolves #123-关联型:Related to #123 / Refs #123-支持多条:Closes #12, Related to #34-跨仓库:Closes owner/repo#123+Required: Please link at least one Issue.+Closing keywords: Closes #123 / Fixes #123 / Resolves #123+Reference only: Related to #123 / Refs #123+Multiple links supported: Closes #12, Related to #34+Cross-repo: Closes owner/repo#123-->Closes ### 📝 Description-<!-- 请简要描述此 PR 的目的和主要更改内容 -->+<!-- Briefly describe the purpose of this PR and the main changes introduced. -->-## 📋 Changes-<!-- 列出此 PR 中的主要变更点 -->-------## 🧪 Testing--<!-- 描述已执行的测试 -->--- [ ] Passed ESLint check locally-- [ ] Build succeeded locally-- [ ] Added/updated related tests-- [ ] All tests passed--## 📝 Notes--<!-- 其他需要说明的信息 -->diff --git a/.github/workflows/pr-to-feishu.yml b/.github/workflows/pr-to-feishu.ymlindex 504808fe..b32b3e76 100644--- a/.github/workflows/pr-to-feishu.yml+++ b/.github/workflows/pr-to-feishu.yml@@ -1,7 +1,7 @@name: Feishu Notify (Org-wide, No Relay)on:pull_request:- types: [opened, ready_for_review, closed]+ types: [ready_for_review, closed]issues:types: [opened, closed, reopened]