AGENTS.md: Update PR title and description guidelines#64477
Conversation
Clarify PR title and description formatting requirements.
|
Hi @lance6716. Thanks for your PR. PRs from untrusted users cannot be marked as trusted with I understand the commands that are listed here. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
|
/ok-to-test |
|
|
||
| **Format 2 (Repository-Wide):** `*: what is changed` | ||
|
|
||
| The PR description **must** strictly follow the template located at @.github/pull_request_template.md. **Do not remove, alter, or modify** any HTML comments (`<!--`, `-->`) within the template. These elements are essential for CI and removing them will cause processing failures. |
There was a problem hiding this comment.
Because GitHub uses Copilot, which has its own prompt file.
There was a problem hiding this comment.
There was a problem hiding this comment.
There was a problem hiding this comment.
I want to use copilot write codes, rather than do code review. However I remember there's also a dedicated file for copilot coding agent, I'll take a look tomorrow.
There was a problem hiding this comment.
/unhold
I use a new file according to https://docs.github.com/en/enterprise-cloud@latest/copilot/tutorials/coding-agent/get-the-best-results#adding-custom-instructions-to-your-repository for copilot coding agent
lance6716
left a comment
There was a problem hiding this comment.
/hold
move copilot instrunctions to the separate file.
Clarify requirements for PR description and issue usage
There was a problem hiding this comment.
Pull Request Overview
This PR updates the PR title and description guidelines in AGENTS.md to provide clearer instructions for AI agents like Copilot when creating pull requests. The changes improve clarity around formatting requirements and add a new instruction file specifically for Copilot.
- Restructured PR instructions section with clearer subsection headers
- Clarified when to use
*in PR titles (non-package-specific or too many packages) - Simplified PR description requirements to focus on HTML comment preservation
- Added Copilot-specific instructions for handling issue number references
Reviewed Changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
| AGENTS.md | Reorganizes PR instructions with subsection headers and clarifies PR title/description guidelines |
| .github/copilot-instructions.md | Adds new Copilot-specific instruction about using issue numbers in PR descriptions |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: D3Hunter, hawkingrei The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
[LGTM Timeline notifier]Timeline:
|
There was a problem hiding this comment.
Pull Request Overview
Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
|
/retest |
What problem does this PR solve?
Issue Number: ref #63847
Problem Summary:
What changed and how does it work?
#64328 (comment) this can let copilot file a PR that directly pass CI test check
Check List
Tests
Side effects
Documentation
Release note
Please refer to Release Notes Language Style Guide to write a quality release note.