Add explicit fix-ci-commit command for clearer git commit instructions

- Create new slash command specifically for when branch already exists
- Makes it crystal clear that Bash tool must be used for git commands
- Update workflow to use the new command
This commit is contained in:
km-anthropic
2025-08-19 14:18:06 -07:00
parent 130eff6d9c
commit 71431089b5
4 changed files with 117 additions and 5 deletions

View File

@@ -80,7 +80,7 @@ jobs:
uses: km-anthropic/claude-code-action@v1-dev
with:
prompt: |
/fix-ci Failed CI Run: ${{ fromJSON(steps.failure_details.outputs.result).runUrl }}
/fix-ci-commit Failed CI Run: ${{ fromJSON(steps.failure_details.outputs.result).runUrl }}
Failed Jobs: ${{ join(fromJSON(steps.failure_details.outputs.result).failedJobs, ', ') }}
Error logs: