mirror of
https://github.com/anthropics/claude-code-action.git
synced 2026-01-22 22:44:13 +08:00
Enable use_commit_signing to provide MCP file ops server for CI fixes
- 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
This commit is contained in:
@@ -31,20 +31,18 @@ Based on the error logs:
|
||||
|
||||
After fixing ALL issues, you MUST:
|
||||
|
||||
```bash
|
||||
# Stage all changes
|
||||
git add -A
|
||||
Use the `mcp__github_file_ops__commit_files` tool to commit all your changes with a descriptive message like:
|
||||
|
||||
# Commit with descriptive message
|
||||
git commit -m "Fix CI failures
|
||||
```
|
||||
Fix CI failures
|
||||
|
||||
- Fixed syntax errors
|
||||
- Fixed formatting issues
|
||||
- Fixed test failures
|
||||
[List actual fixes made]"
|
||||
[List actual fixes made]
|
||||
```
|
||||
|
||||
**IMPORTANT**: You MUST use the Bash tool to run the git add and git commit commands above. The workflow expects you to commit your changes.
|
||||
**IMPORTANT**: You MUST use the MCP file ops tool to commit your changes. The workflow expects you to commit your changes.
|
||||
|
||||
### 3. Verify (Optional)
|
||||
|
||||
|
||||
@@ -43,10 +43,10 @@ Requirements:
|
||||
## Step 4: Commit Changes
|
||||
|
||||
After applying fixes:
|
||||
1. Stage all modified files with `git add -A` or `git add .`
|
||||
2. Commit with a descriptive message using `git commit -m "Fix CI failures: <description>"`
|
||||
3. Include details about which CI jobs/tests were fixed in the commit message
|
||||
4. Important: Always commit your changes even if you're already on a branch
|
||||
1. Use the `mcp__github_file_ops__commit_files` tool to commit your changes
|
||||
2. Include a descriptive commit message explaining what was fixed
|
||||
3. Document which CI jobs/tests were addressed in the commit message
|
||||
4. Important: Use the MCP file ops tool to commit your changes
|
||||
|
||||
## Step 5: Verify Fixes Locally
|
||||
|
||||
|
||||
Reference in New Issue
Block a user