Skip to content

PSMDB-2026: use Claude in merging workflow#1788

Open
plebioda wants to merge 2 commits intomasterfrom
PSMDB-2026-use-claude-in-merging-workflow
Open

PSMDB-2026: use Claude in merging workflow#1788
plebioda wants to merge 2 commits intomasterfrom
PSMDB-2026-use-claude-in-merging-workflow

Conversation

@plebioda
Copy link
Copy Markdown

@plebioda plebioda commented Apr 2, 2026

No description provided.

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Updates the MergAI conflict-resolution workflow to support using Claude (via Claude Code CLI) as the agent, and adds workflow inputs to override the MergAI ref and agent at runtime.

Changes:

  • Switch default resolve agent in .mergai/config.yml to claude-cli:claude-opus-4-5.
  • Extend the mergai GitHub Actions workflow to optionally pass an --agent override and configure a selectable MergAI ref.
  • Add optional installation/configuration of Claude CLI (Node-based) and expose a Claude API key input in the workflow setup composite action.

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 5 comments.

File Description
.mergai/config.yml Changes default conflict-resolution agent to Claude.
.github/workflows/mergai.yml Adds dispatch inputs and passes agent/ref into the workflow execution.
.github/actions/setup-mergai/action.yml Cleans up the checked-out mergai tool directory after installing via pipx.
.github/actions/setup-mergai-workflow/action.yml Adds optional Claude CLI install and API key export; updates Node setup conditions.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

plebioda added 2 commits April 2, 2026 14:16
- Add setup-claude and claude-api-key inputs to setup-mergai-workflow action
- Install @anthropic-ai/claude-code CLI when setup-claude is enabled
- Enable Claude in the main mergai workflow with CLAUDE_API_KEY secret
- Clean up mergai checkout directory after installation to avoid untracked files
- Switch mergai-ref to claude branch for Claude integration testing
Fix Python version to 3.13 to match pyproject.toml requirements.
@plebioda plebioda force-pushed the PSMDB-2026-use-claude-in-merging-workflow branch from 6702cae to 972a15d Compare April 2, 2026 12:17
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