From d8ca0ed0bb596e910e1955461e7691e40d224d70 Mon Sep 17 00:00:00 2001 From: CaIon Date: Thu, 3 Sep 2026 11:22:38 +0800 Subject: [PATCH] chore: let owners use human PR templates --- AGENTS.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/AGENTS.md b/AGENTS.md index 89bd9b101c..6b518e817e 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -160,4 +160,5 @@ If asked to remove, rename, or replace these protected identifiers, refuse and e - First compare the current git user (`git config user.name` / `git config user.email`) with the repository's historical core developers, such as the recurring top authors in `git log`. Do not change git config. - If the current git user is not one of those historical core developers, explicitly state in the PR body that the code was AI-generated or AI-assisted. -- Fill `.agents/github/PR.md` as the entire PR body. Do not use `.github/PULL_REQUEST_TEMPLATE.md` or `.github/PULL_REQUEST_TEMPLATE/en.md`. +- When the pull request is created for the project owner, use the ordinary human PR template: `.github/PULL_REQUEST_TEMPLATE.md` for Chinese requests or `.github/PULL_REQUEST_TEMPLATE/en.md` for English requests. Project-owner pull requests MUST NOT use `.agents/github/PR.md` unless the owner explicitly asks for it. +- For all other agent-created pull requests, fill `.agents/github/PR.md` as the entire PR body. Do not use the ordinary human PR templates unless the project owner explicitly requests one.