From 215a8f6566a6f50ce181ec80f34e8023a6f5fd53 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B0=8F=E6=A9=98?= Date: Wed, 29 Apr 2026 11:15:27 +0000 Subject: [PATCH] fix(committer): forbid --author in shared workspace committer prompt --- workflows/_shared/workspace-committer.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/workflows/_shared/workspace-committer.ts b/workflows/_shared/workspace-committer.ts index 45bb1e5..c429b35 100644 --- a/workflows/_shared/workspace-committer.ts +++ b/workflows/_shared/workspace-committer.ts @@ -47,7 +47,7 @@ function workspaceCommitterPrompt({ - Example: \`${branchCheckoutExample}\` 3. \`git add -A\` 4. Write a **conventional commit** message summarizing what changed and why (scope may be \`${conventionalCommitScopeHint}\` or similar). -5. \`git commit -m ""\` (use multiple \`-m\` if you need a body). +5. \`git commit -m ""\` (use multiple \`-m\` if you need a body). Do **not** pass \`--author\` — always use the repo's local git config identity. 6. \`git push -u origin \` **committed=true** only if branch was created, commit succeeded, and **push** succeeded.