From 208f5fa21d1a278ddecf6024db67e26a0d90b199 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sun, 12 Jul 2026 15:34:01 +0800 Subject: [PATCH] chore: require human commit authors --- AGENTS.md | 2 ++ scripts/release-manager.mjs | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/AGENTS.md b/AGENTS.md index c3f2339..0c5dbf1 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -341,6 +341,8 @@ Use fresh GitHub data when checking issue or PR state. Prefer `gh api --cache 0s Do not add `Co-Authored-By` or AI attribution to commit messages. +Git authors and committers must use an approved human identity (`Connor`, `ConnorQi`, or `JunchenMeteor`). Bot, automation, AI-tool, and agent identities such as `github-actions[bot]` are forbidden. Automated commits must use `JunchenMeteor <15767428+JunchenMeteor@users.noreply.github.com>`. + ## Security And Secrets Never commit or print real values for: diff --git a/scripts/release-manager.mjs b/scripts/release-manager.mjs index 0694c45..aa9999b 100644 --- a/scripts/release-manager.mjs +++ b/scripts/release-manager.mjs @@ -138,8 +138,8 @@ function ensureTooling() { run('git', ['--version']) run('gh', ['--version']) run('curl', ['--version']) - run('git', ['config', 'user.name', 'github-actions[bot]'], { allowFail: true }) - run('git', ['config', 'user.email', '41898282+github-actions[bot]@users.noreply.github.com'], { allowFail: true }) + run('git', ['config', 'user.name', 'JunchenMeteor'], { allowFail: true }) + run('git', ['config', 'user.email', '15767428+JunchenMeteor@users.noreply.github.com'], { allowFail: true }) } function ensureCleanWorktree() {