mirror of
https://github.com/ruvnet/ruflo.git
synced 2026-11-24 06:06:02 +09:00
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:
4 files changed
+10
-4
No files matched your search
@@ -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)',
|
||||
};
|
||||
}
|
||||
|
||||
@@ -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\`
|
||||
|
||||
Reference in new issue
Block a user