From 6acb2b009c9282a847878c40059162780290060d Mon Sep 17 00:00:00 2001 From: Jingyue Wu Date: Tue, 16 Jun 2026 22:43:17 +0000 Subject: [PATCH] Document PR commit signing for agents Signed-off-by: Jingyue Wu --- AGENTS.md | 1 + 1 file changed, 1 insertion(+) diff --git a/AGENTS.md b/AGENTS.md index d8448db8232..e747867f8b0 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -24,6 +24,7 @@ skill keyword — infer it from the artifact you read. - All PRs must be created as **drafts**. Use `gh pr create --draft` or the GitHub UI draft option. - Never push branches directly to `https://github.com/NVIDIA/Megatron-LM`. You must push your branch to a personal fork (e.g. `https://github.com//Megatron-LM`), then open a PR from the fork's branch against `NVIDIA/Megatron-LM`. +- Commit PR changes with both `-s` and `-S`: `-s` adds the required `Signed-off-by` trailer, and `-S` signs the commit so copy-pr-bot and `/ok to test` can verify the pushed commit without manually specifying the SHA. - Read @docs/developer/contribute.md for the full contribution policy, including code style, commit message conventions, and issue guidelines. ### Code Quality