mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-05-20 11:23:23 +00:00
docs(bot): instruct agent to use git blame and CODEOWNERS for reviewers
This commit is contained in:
@@ -40,7 +40,7 @@ If you are proposing fixes and PR creation is enabled (per the System Directive)
|
||||
2. **Generate PR Description**: Use the `write_file` tool to create
|
||||
`pr-description.md` **at the workspace root**.
|
||||
- **Title**: The very first line MUST be a concise, conventional title.
|
||||
- **Body**: Explain the change and expected impact. You MUST identify the domain expert for the affected files and mention them (cc @<user>).
|
||||
- **Body**: Explain the change and expected impact. You MUST identify the domain expert for the affected files by using `git blame` to find recent contributors. Cross-reference these authors with the `.github/CODEOWNERS` file to ensure they are maintainers before mentioning them (cc @<user>). Do not use generic team handles like `@google-gemini-maintainers`.
|
||||
- **Labels**: Use the `write_file` tool to create `pr-labels.txt` **at the workspace root** containing one label per line. You MUST ALWAYS add the `bot-fix` label.
|
||||
3. **Branch Naming (Optional)**: If you wish to specify a custom branch name,
|
||||
use `write_file` to create `branch-name.txt` **at the workspace root**. **CRITICAL**: The branch name
|
||||
|
||||
Reference in New Issue
Block a user