Repository navigation
fix(claude-executor): sign commits pushed by claude-code-action - #69
Merged
Merged
Conversation
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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
anthropics/claude-code-actiondefaultsuse_commit_signingtofalse, so when someone asks@claudeto fix something, it pushes unsigned commits asclaude[bot]. dotCMS/coremainhasrequired_signaturesenabled, so any PR that picks up one of these commits is blocked from merging. Example: dotCMS/core#37850, where commit415829716bwas the only unsigned one.Fix
Set
use_commit_signing: "true"on both the Anthropic API and Bedrockclaude-code-actionsteps. 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 allowsgit statusandgit diff, so nothing there should change.After merge
Move the
v3tag to the merge commit so consumers pinned to@v3pick up the change.🤖 Generated with Claude Code
https://claude.ai/code/session_01BT7fBfyUya5z1bcTQeqmLy