Skip to content

fix(claude-executor): sign commits pushed by claude-code-action - #69

Merged
sfreudenthaler merged 1 commit into
mainfrom
claude-commit-signing
Oct 2, 2026
Merged

sfreudenthaler merged 1 commit into
mainfrom
claude-commit-signing

Conversation

@sfreudenthaler

Copy link
Copy Markdown
Member

Problem

anthropics/claude-code-action defaults use_commit_signing to false, so when someone asks @claude to fix something, it pushes unsigned commits as claude[bot]. dotCMS/core main has required_signatures enabled, so any PR that picks up one of these commits is blocked from merging. Example: dotCMS/core#37850, where commit 415829716b was the only unsigned one.

@claude comment (core PR)
  └─ core/.github/workflows/ai_claude-orchestrator.yml  (claude-interactive)
       └─ ai-workflows claude-orchestrator.yml@v3
            └─ claude-executor.yml → claude-code-action   ← use_commit_signing unset (false)
                 └─ git commit/push as claude[bot]  → unsigned ❌

Fix

Set use_commit_signing: "true" on both the Anthropic API and Bedrock claude-code-action steps. The action then creates commits through the GitHub API, so GitHub signs and verifies them.

Side effect: with signing enabled, the action commits through its file/commit tools instead of local git push. Core's interactive job only allows git status and git diff, so nothing there should change.

After merge

Move the v3 tag to the merge commit so consumers pinned to @v3 pick up the change.

🤖 Generated with Claude Code

https://claude.ai/code/session_01BT7fBfyUya5z1bcTQeqmLy

claude-code-action defaults use_commit_signing to false, so @claude
fix commits land unsigned and block merges on repos that require
signed commits (dotCMS/core main). Enable it on both the Anthropic
API and Bedrock steps so commits go through the GitHub API and are
verified.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01BT7fBfyUya5z1bcTQeqmLy
@sfreudenthaler
sfreudenthaler requested review from a team as code owners October 2, 2026 14:15

@dcolina dcolina left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good.

@sfreudenthaler
sfreudenthaler merged commit 7acafc6 into main Oct 2, 2026
8 checks passed
@sfreudenthaler
sfreudenthaler deleted the claude-commit-signing branch October 2, 2026 14:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants