mirror of
https://github.com/GoodOlClint/PSProxmoxVE.git
synced 2026-09-03 18:55:33 +00:00
chore: attribute agent commits to the bot identity
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"env": {
|
||||
"GIT_AUTHOR_NAME": "goodolclint-claude[bot]",
|
||||
"GIT_AUTHOR_EMAIL": "323206664+goodolclint-claude[bot]@users.noreply.github.com",
|
||||
"GIT_COMMITTER_NAME": "goodolclint-claude[bot]",
|
||||
"GIT_COMMITTER_EMAIL": "323206664+goodolclint-claude[bot]@users.noreply.github.com"
|
||||
}
|
||||
}
|
||||
@@ -27,6 +27,17 @@ git push -u origin feat/my-feature
|
||||
gh pr create
|
||||
```
|
||||
|
||||
### Agent commit identity
|
||||
|
||||
`.claude/settings.json` sets `GIT_AUTHOR_*` / `GIT_COMMITTER_*` to
|
||||
`goodolclint-claude[bot]`, so commits made from an agent session are attributed to the App
|
||||
rather than to the operator. The push itself is an ordinary local `git push` over the
|
||||
operator's SSH key — the env vars change authorship, not transport. No `Co-Authored-By`
|
||||
trailer is needed when they are in effect.
|
||||
|
||||
The env block applies at session start, so a session that predates this file still commits
|
||||
as the operator.
|
||||
|
||||
### Dev container (recommended)
|
||||
|
||||
A Docker-based dev environment replicates the full CI setup locally. Works on ARM Macs
|
||||
|
||||
Reference in New Issue
Block a user