chore: configure Copilot task and review guardrails - #9
Merged
Conversation
There was a problem hiding this comment.
Pull request overview
This PR adds repository-level contribution guardrails by introducing a standard pull request template and GitHub Copilot repository instructions, aiming to ensure changes are accompanied by appropriate validation evidence and to explicitly prevent Copilot from taking merge/approval actions.
Changes:
- Added a pull request template that requires authors to document tests/validation,
git diff --check, and risks before requesting human review. - Added
.github/copilot-instructions.mdto codify expected validation steps and prohibit Copilot from approving/merging PRs.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
.github/PULL_REQUEST_TEMPLATE.md |
Adds an evidence-driven PR template (tests/validation, risks, Copilot handoff). |
.github/copilot-instructions.md |
Adds repository-wide Copilot guidance, including explicit “no approve/merge” and validation command expectations. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
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
Adds repository-wide Copilot instructions and a pull request template so assigned feature, bug-fix, and development tasks require tests or an explicit non-code validation rationale before human review. Copilot is explicitly prohibited from approving or merging pull requests.
Tests and validation
git diff --checksuccessfully in each repository.Validation commands and results:
git diff --check— passed in all 10 repositories.Risks and follow-up
The instruction and template are guidance and evidence requirements; Copilot behavior remains subject to GitHub Copilot service availability and the repository CI configuration. Repositories without existing CI retain explicit syntax/documentation validation guidance rather than claiming nonexistent tests. Automatic Copilot review is configured separately at the repository settings level and is comment-only.
Copilot handoff