Skip to content

Commit 130eff6

Browse files
committed
Update CI fix workflows to ensure Claude commits changes
- Clarify that Claude must commit changes even when branch exists - Update both slash command and inline workflow instructions - Make git add and commit commands more explicit
1 parent 54d68a2 commit 130eff6

3 files changed

Lines changed: 15 additions & 15 deletions

File tree

.claude/commands/fix-ci.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -40,13 +40,13 @@ Requirements:
4040
- Ensure changes are production-ready, not temporary hacks
4141
- Preserve existing functionality while fixing issues
4242

43-
## Step 4: Create Branch and Commit Changes
43+
## Step 4: Commit Changes
4444

4545
After applying fixes:
46-
1. Create a branch named `claude-fix-ci-${timestamp}`
47-
2. Stage all modified files with `git add`
48-
3. Commit with a descriptive message explaining what was fixed
49-
4. Document which CI jobs/tests were addressed
46+
1. Stage all modified files with `git add -A` or `git add .`
47+
2. Commit with a descriptive message using `git commit -m "Fix CI failures: <description>"`
48+
3. Include details about which CI jobs/tests were fixed in the commit message
49+
4. Important: Always commit your changes even if you're already on a branch
5050

5151
## Step 5: Verify Fixes Locally
5252

.github/workflows/auto-fix-ci-inline.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -120,12 +120,12 @@ jobs:
120120
- Ensure changes are production-ready, not temporary hacks
121121
- Preserve existing functionality while fixing issues
122122
123-
## Step 4: Create Branch and Commit Changes
123+
## Step 4: Commit Changes
124124
125-
After applying fixes:
126-
1. Stage all modified files with `git add`
127-
2. Commit with a descriptive message explaining what was fixed
128-
3. Document which CI jobs/tests were addressed
125+
After applying ALL fixes:
126+
1. Stage all modified files with `git add -A`
127+
2. Commit with: `git commit -m "Fix CI failures: prettier formatting and syntax errors"`
128+
3. Important: You MUST commit your changes - the branch already exists
129129
130130
## Step 5: Verify Fixes Locally
131131

slash-commands/fix-ci.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -40,13 +40,13 @@ Requirements:
4040
- Ensure changes are production-ready, not temporary hacks
4141
- Preserve existing functionality while fixing issues
4242

43-
## Step 4: Create Branch and Commit Changes
43+
## Step 4: Commit Changes
4444

4545
After applying fixes:
46-
1. Create a branch named `claude-fix-ci-${timestamp}`
47-
2. Stage all modified files with `git add`
48-
3. Commit with a descriptive message explaining what was fixed
49-
4. Document which CI jobs/tests were addressed
46+
1. Stage all modified files with `git add -A` or `git add .`
47+
2. Commit with a descriptive message using `git commit -m "Fix CI failures: <description>"`
48+
3. Include details about which CI jobs/tests were fixed in the commit message
49+
4. Important: Always commit your changes even if you're already on a branch
5050

5151
## Step 5: Verify Fixes Locally
5252

0 commit comments

Comments
 (0)