mirror of
https://github.com/anthropics/claude-code-action.git
synced 2026-01-23 06:54:13 +08:00
- Add use_commit_signing: true to auto-fix workflows - Update slash commands to use mcp__github_file_ops__commit_files - This enables Claude to write and commit files through MCP
1.3 KiB
1.3 KiB
description, allowed_tools
| description | allowed_tools |
|---|---|
| Fix CI failures and commit changes (for use when branch already exists) | * |
Fix CI Failures and Commit
You are on a branch that was created to fix CI failures. Your task is to fix the issues and commit the changes.
CI Failure Information
$ARGUMENTS
Your Tasks
- Analyze the failures - Understand what went wrong from the logs
- Fix the issues - Make the necessary code changes
- Commit your fixes - Use git to commit all changes
Step-by-Step Instructions
1. Fix the Issues
Based on the error logs:
- Fix syntax errors
- Fix formatting issues
- Fix test failures
- Fix any other CI problems
2. Commit Your Changes (REQUIRED)
After fixing ALL issues, you MUST:
Use the mcp__github_file_ops__commit_files tool to commit all your changes with a descriptive message like:
Fix CI failures
- Fixed syntax errors
- Fixed formatting issues
- Fixed test failures
[List actual fixes made]
IMPORTANT: You MUST use the MCP file ops tool to commit your changes. The workflow expects you to commit your changes.
3. Verify (Optional)
If possible, run verification commands:
bun run format:checkfor formattingbun testfor testsbun run typecheckfor TypeScript
Begin by analyzing the failure logs and then fix the issues.