worktrunk icon indicating copy to clipboard operation
worktrunk copied to clipboard

[ci] authorship

Open max-sixty opened this issue 8 months ago • 1 comments

@worktrunk-bot: why is GitHub Actions the author of this commit: https://github.com/max-sixty/worktrunk/pull/1265/changes/b6a3c0b18c69e3768e05ca85977df081e3013233, rather than @worktrunk-bot ?

max-sixty avatar Mar 05 '26 02:03 max-sixty

The commit shows github-actions[bot] as author because of how claude-code-action configures git identity.

Root cause: claude-code-action defaults to bot_id: "41898282" and bot_name: "claude[bot]". It constructs the noreply email 41898282+claude[bot]@users.noreply.github.com and sets that as the git author, overriding the workflow's git config step. GitHub resolves the numeric prefix (41898282) in noreply emails to determine attribution — and that ID belongs to github-actions[bot].

Fix: #1271 sets bot_id: "254187624" and bot_name: "worktrunk-bot" on all Claude workflows. Future commits will use [email protected], which GitHub will correctly attribute to worktrunk-bot.

worktrunk-bot avatar Mar 05 '26 02:03 worktrunk-bot