Skip to content

chore(ci): disable Co-authored-by in agent workflows#2203

Closed
naqvitalha wants to merge 1 commit intomainfrom
chore/fix-agent-workflow-issues
Closed

chore(ci): disable Co-authored-by in agent workflows#2203
naqvitalha wants to merge 1 commit intomainfrom
chore/fix-agent-workflow-issues

Conversation

@naqvitalha
Copy link
Copy Markdown
Collaborator

@naqvitalha naqvitalha commented Mar 23, 2026

Description

Disable Co-authored-by trailers in all agent workflows. claude-code-action automatically injects Co-authored-by for 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

  • Next agent commit on a PR has no Co-authored-by trailer

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.
@naqvitalha
Copy link
Copy Markdown
Collaborator Author

Moving to #2202

@naqvitalha naqvitalha closed this Mar 23, 2026
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.

1 participant