From 32cf37c44a0f1fb5446f31484bcbf4bfc1500ed7 Mon Sep 17 00:00:00 2001 From: ah3 Date: Tue, 23 Dec 2025 05:48:47 -0600 Subject: [PATCH] fix: use correct claude[bot] ID (209825114) instead of github-actions[bot] ID The CLAUDE_APP_BOT_ID constant was incorrectly set to 41898282, which is the ID for github-actions[bot], not claude[bot]. This caused commits made via git CLI fallback to be unsigned due to the identity mismatch between the bot_id and bot_name. Fixes #759 --- action.yml | 2 +- src/github/constants.ts | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/action.yml b/action.yml index 15a959906..93422113d 100644 --- a/action.yml +++ b/action.yml @@ -84,7 +84,7 @@ inputs: bot_id: description: "GitHub user ID to use for git operations (defaults to Claude's bot ID)" required: false - default: "41898282" # Claude's bot ID - see src/github/constants.ts + default: "209825114" # claude[bot] ID - see src/github/constants.ts bot_name: description: "GitHub username to use for git operations (defaults to Claude's bot name)" required: false diff --git a/src/github/constants.ts b/src/github/constants.ts index 32818ff51..949a286e3 100644 --- a/src/github/constants.ts +++ b/src/github/constants.ts @@ -4,8 +4,9 @@ /** * Claude App bot user ID + * Verified via: curl -s https://api.github.com/users/claude%5Bbot%5D | jq .id */ -export const CLAUDE_APP_BOT_ID = 41898282; +export const CLAUDE_APP_BOT_ID = 209825114; /** * Claude bot username