Merge pull request #2079 from ruvnet/fix/2078-attribution-bot-email

fix(init): #2078 — use no-reply bot email for opt-in Co-Authored-By
This commit is contained in:
rUv authored and GitHub committed 2026-05-20 16:30:54 -04:00
commit 71bc21b1ae
4 files changed
+10 -4

No files matched your search

+1 -1
View File
@@ -115,7 +115,7 @@
]
},
"attribution": {
"commit": "Co-Authored-By: claude-flow <ruv@ruv.net>",
"commit": "Co-Authored-By: ruflo-bot <ruflo-bot@users.noreply.github.com>",
"pr": "Generated with [claude-flow](https://github.com/ruvnet/claude-flow)"
},
"claudeFlow": {
@@ -46,9 +46,15 @@ export function generateSettings(options: InitOptions): object {
// line into the user's commits — that pattern silently inflated GitHub
// contributor graphs and was hard to undo without rewriting history. Pass
// `--attribution` (or `attribution: true` in InitOptions) to enable.
//
// #2078 — when the user DOES opt in, write a no-reply bot email so GitHub
// treats this as a tool, not a personal contribution. Personal emails get
// added to user repos' contributor graphs even when the trailer is opt-in.
// `ruflo-bot@users.noreply.github.com` is GitHub's no-reply convention and
// is excluded from contributor graphs / mapped to a tool identity.
if (options.attribution === true) {
settings.attribution = {
commit: 'Co-Authored-By: RuFlo <ruv@ruv.net>',
commit: 'Co-Authored-By: ruflo-bot <ruflo-bot@users.noreply.github.com>',
pr: '🤖 Generated with [RuFlo](https://github.com/ruvnet/ruflo)',
};
}
+1 -1
View File
@@ -103,7 +103,7 @@ Use `$skill-name` syntax to invoke:
[optional body]
Co-Authored-By: claude-flow <ruv@ruv.net>
Co-Authored-By: ruflo-bot <ruflo-bot@users.noreply.github.com>
```
Types: `feat`, `fix`, `docs`, `style`, `refactor`, `perf`, `test`, `chore`
@@ -232,7 +232,7 @@ Use MCP tools for coordination, then keep coding:
[optional body]
Co-Authored-By: claude-flow <ruv@ruv.net>
Co-Authored-By: ruflo-bot <ruflo-bot@users.noreply.github.com>
\`\`\`
Types: \`feat\`, \`fix\`, \`docs\`, \`style\`, \`refactor\`, \`perf\`, \`test\`, \`chore\`