World's most powerful open data catalog for building a high-performance, geo-distributed and federated metadata lake.
Java ai-catalogdata-catalogdatalakefederated-querylakehousemetadatametalakemodel-catalogopendatacatalogskycomputingstratosphere
[#12795] improvement(infra): Enable automatic GitHub Copilot code review (#12796)
Nevin Zhengca33d31fa99d
diff --git a/.asf.yaml b/.asf.yamlindex c4d10baf26..a4b2e0c678 100644--- a/.asf.yaml+++ b/.asf.yaml@@ -63,6 +63,15 @@ github:- danhuawang- lasdf1234- nevzheng+ # Copilot Code Review ruleset on the default branch (main).+ # https://github.com/apache/infrastructure-asfyaml#copilot-code-review+ # enabled: true creates the ruleset; false or deleting this block removes it+ # review_drafts: false skips drafts; first auto-review when the PR is marked ready+ # review_on_push: false does not re-review on later pushes; add Copilot by hand+ copilot_code_review:+ enabled: true+ review_drafts: false+ review_on_push: falsenotifications:commits: [email protected]diff --git a/CONTRIBUTING.md b/CONTRIBUTING.mdindex 69b72d5dfd..e887fee575 100644--- a/CONTRIBUTING.md+++ b/CONTRIBUTING.md@@ -149,6 +149,7 @@ Reviewing and triaging helps maintain the project. You can:* Add labels to categorize* Suggest improvements on PRs* Review code and give feedback+* Please add Copilot before you review. That is recommended, not required. Do not wait on Copilot if you are ready to review.## 🔃 Creating Pull Requests@@ -156,6 +157,7 @@ Reviewing and triaging helps maintain the project. You can:* Write clear commit messages and PR descriptions* Link to issues (e.g., `Fixes #123`)* Respond to reviewer feedback+* Please add Copilot on the PR. Automatic review runs once when the PR is marked ready; later pushes do not re-review, so add Copilot again after you push. Treat Copilot comments as hints: implement the suggestion, or reply with why you are not taking it. Human reviewers remain responsible for the merge decision. Project-specific Copilot guidance lives in [`.github/copilot-instructions.md`](.github/copilot-instructions.md).## 💻 Setting Up Development Environment