ci: add pr-issue-check caller#256
Merged
Merged
Conversation
Contributor
There was a problem hiding this comment.
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-checkgate - 以固定 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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
加入 org pr-issue-check PR gate 的 caller:base=dev 的 PR 須有同 repo linked issue 且該 issue 已設 Project 3
version欄位,不符時紅燈附補救指引;main/release promotion 與 fork PR 自動 skip。nics-dp/meta/.github/workflows/pr-issue-check.yml@main(meta v0.2.5.7,設計/測試見 feat(workflows): add pr-issue-check reusable workflow #251)pr-issue-check→ check run 名 org-wide 一致(pr-issue-check / pr-issue-check),供後續 org ruleset required check 使用(觀察期後由 admin 手動開啟)pull_requesttypes 含edited:事後補Closes #N會自動重跑;補 Projectversion欄位不觸發 event,需手動 re-run(check 失敗訊息內有說明)追蹤:nics-dp/TMDs#598
Closes #255