Skip to content

ci: add pr-issue-check caller#256

Merged
charliie-dev merged 1 commit into
devfrom
ci/pr-issue-check
Jul 5, 2026
Merged

ci: add pr-issue-check caller#256
charliie-dev merged 1 commit into
devfrom
ci/pr-issue-check

Conversation

@charliie-dev

Copy link
Copy Markdown
Contributor

Summary

加入 org pr-issue-check PR gate 的 caller:base=dev 的 PR 須有同 repo linked issue 且該 issue 已設 Project 3 version 欄位,不符時紅燈附補救指引;main/release promotion 與 fork PR 自動 skip。

  • reusable:nics-dp/meta/.github/workflows/pr-issue-check.yml@main(meta v0.2.5.7,設計/測試見 feat(workflows): add pr-issue-check reusable workflow #251)
  • job id 固定 pr-issue-check → check run 名 org-wide 一致(pr-issue-check / pr-issue-check),供後續 org ruleset required check 使用(觀察期後由 admin 手動開啟)
  • pull_request types 含 edited:事後補 Closes #N 會自動重跑;補 Project version 欄位不觸發 event,需手動 re-run(check 失敗訊息內有說明)
  • 本 PR 自己就走這個 gate(下方 Closes 即為驗證)

追蹤:nics-dp/TMDs#598

Closes #255

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

此 PR 新增一個 GitHub Actions workflow caller,用來在本 repo 的 PR 上呼叫 org 共用的 pr-issue-check reusable workflow,作為 base=dev PR 的 issue / Project version 欄位政策 gate,並維持 check run 名稱可供後續 org ruleset 設為 required check。

Changes:

  • 新增 .github/workflows/self-pr-issue-check.yml,在 pull_request(含 edited)事件下執行 pr-issue-check gate
  • 以固定 job id pr-issue-check 呼叫 nics-dp/meta/.github/workflows/pr-issue-check.yml@main,並傳遞 CI_READ_APP_PRIVATE_KEY

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

Comment thread .github/workflows/self-pr-issue-check.yml

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

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 1 comment.

Comment thread .github/workflows/self-pr-issue-check.yml

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

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 0f73d16 into dev Jul 5, 2026
12 checks passed
@charliie-dev charliie-dev deleted the ci/pr-issue-check branch July 5, 2026 05:44
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.

enable pr-issue-check PR gate

2 participants