Skip to content

chore(github): add org default pr template with test runbook#7

Merged
charliie-dev merged 2 commits into
mainfrom
chore/pr-template-runbook
Jul 9, 2026
Merged

chore(github): add org default pr template with test runbook#7
charliie-dev merged 2 commits into
mainfrom
chore/pr-template-runbook

Conversation

@charliie-dev

Copy link
Copy Markdown
Contributor

org 預設 PR template:變更摘要 + Closes / 測試 Runbook (驗收標準 + 操作流程,QA 於 dev env 驗收用) / 佈署注意事項。

  • 全 org 已盤點無任何 repo 自帶 PR template,此份預設全面生效
  • runbook 區塊註明:無需上機驗收的變更填 N/A + 原因
  • 配合新開發流程 (merge -> In Deploy -> 佈署 -> In QA + assign)

Closes #6

merge -> In Deploy -> In QA 流程上線後,QA 驗收標準需要在 PR 階段就被
review (shift-left),而非 merge 後補寫。template 含變更摘要 + Closes、
測試 runbook (驗收標準 checklist + 操作流程)、佈署注意事項三區塊;
全 org 無任何自帶 template,org 預設一份即全面生效。
Copilot AI review requested due to automatic review settings July 9, 2026 10:38

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

此 PR 新增組織層級的預設 PR Template(.github/PULL_REQUEST_TEMPLATE.md),讓每個 PR 在送審時就包含變更摘要、關聯 issue(Closes #)以及 QA 可用的測試 Runbook,配合新流程在 dev 環境進行驗收並降低 merge 後補寫 runbook 的落差。

Changes:

  • 新增「變更摘要」區塊並提供 Closes # 佔位,利於與 issue/flow 串接。
  • 新增「測試 Runbook」區塊:驗收標準 checklist + QA 操作流程範例。
  • 新增「佈署注意事項」區塊,提醒 migration/env/restart 等部署資訊。

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

Comment thread .github/PULL_REQUEST_TEMPLATE.md Outdated
Comment thread .github/PULL_REQUEST_TEMPLATE.md
Comment thread .github/PULL_REQUEST_TEMPLATE.md Outdated
- 全小寫/不加句號標明為團隊慣例,非 Conventional Commits 官方規格
- 範例 URL 佔位符改 {dev-domain} 加反引號,避免複製出註解後被當 HTML tag
- Closes # 加填寫提示註解 (保留裸 # 以利 GitHub autocomplete;缺漏由
  pr-issue-check gate 把關)
Copilot AI review requested due to automatic review settings July 9, 2026 10:42

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

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

Comments suppressed due to low confidence (1)

.github/PULL_REQUEST_TEMPLATE.md:41

  • 檔案結尾多了一行只包含空白字元(trailing whitespace)。這類空白有時會觸發 markdown / whitespace 檢查或造成不必要的 diff,建議移除。

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

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

@charliie-dev charliie-dev merged commit a4fa48d into main Jul 9, 2026
4 checks passed
@charliie-dev charliie-dev deleted the chore/pr-template-runbook branch July 9, 2026 10:53
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.

chore(github): org 預設 PR template 加測試 runbook 區塊

2 participants