ci: configure copilot review to reduce noise#1064
Open
efiacor wants to merge 2 commits into
Open
Conversation
- Add .github/copilot-code-review.yml with project-specific instructions: skip linter-overlap issues, generated code, vendored code, and style nits. Focus reviews on logic errors, concurrency, security, and K8s API correctness. - Add workflow to request Copilot review only on PR open (not on every push). Manual re-request still available via GitHub UI. - Requires disabling automatic Copilot reviews in repo settings. Signed-off-by: Fiachra Corcoran <fiachra.corcoran@est.tech>
✅ Deploy Preview for kpt-porch ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
Contributor
There was a problem hiding this comment.
Pull request overview
Adds a repo-scoped Copilot Code Review configuration and a GitHub Actions workflow to reduce review noise by (1) constraining what Copilot comments on and (2) requesting Copilot review only when a PR is first opened (instead of on every push/update).
Changes:
- Add
.github/copilot-code-review.ymlto scope Copilot review focus areas and exclude generated/vendored paths. - Add
.github/workflows/copilot-review.yamlto request Copilot as a reviewer onpull_requestopened.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| .github/workflows/copilot-review.yaml | Adds a workflow that requests Copilot review when a PR is opened. |
| .github/copilot-code-review.yml | Adds Copilot review instructions and path-based exclusions to reduce noise. |
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> Signed-off-by: Fiachra Corcoran <fiachra.corcoran@est.tech>
5cf161f to
eabb946
Compare
|
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.



Description
.github/copilot-code-review.ymland.github/workflows/copilot-review.yamlRelated Issue(s)
Type of Change
Checklist
Testing Instructions
Additional Notes
/reviewor reviewer request still works for on-demand reviews after initial openAI Disclosure
If so, please describe how: