chore(ci): disable Co-authored-by in agent workflows#2203
Closed
naqvitalha wants to merge 1 commit intomainfrom
Closed
chore(ci): disable Co-authored-by in agent workflows#2203naqvitalha wants to merge 1 commit intomainfrom
naqvitalha wants to merge 1 commit intomainfrom
Conversation
claude-code-action injects Co-authored-by trailers for the trigger user into commits. This is unwanted — agent commits should have no co-author attribution. Override via system prompt in all commit-capable workflows.
Collaborator
Author
|
Moving to #2202 |
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.
Description
Disable Co-authored-by trailers in all agent workflows.
claude-code-actionautomatically injectsCo-authored-byfor whoever triggers the agent (via comment or label), but this is unwanted — agent commits should have no human co-author attribution.Adds "Do NOT add Co-authored-by lines to any commits" to the system prompt of agent-fix, agent-bot, and agent-android-bot workflows. Skips agent-triage since it doesn't create commits.
Reviewers' hat-rack 🎩
Check that the instruction is placed prominently enough in each prompt to override claude-code-action's built-in co-author injection.
Test plan