Skip to content

Commit f684057

Browse files
committed
chore(ci): pass explicit issue number to agent-fix prompt
The prompt said "Fix this GitHub issue" without specifying which one, relying on claude-code-action to inject context. Over long runs the agent drifted to a different issue (#2175 instead of #1914). Now the issue number and title are passed explicitly in the prompt.
1 parent 651ce63 commit f684057

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

.github/workflows/agent-fix.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,11 @@ jobs:
8080
prompt: |
8181
You are running on CI (GitHub Actions). There is no human to confirm with — act autonomously.
8282
Environment: macOS runner with Xcode and iOS simulator. No Android emulator.
83-
Fix this GitHub issue. Read and follow .claude/skills/fix-github-issue/SKILL.md for the full workflow.
83+
84+
YOUR ASSIGNED ISSUE: #${{ github.event.issue.number }}
85+
TITLE: ${{ github.event.issue.title }}
86+
87+
Fix ONLY this issue — do not fix other issues. Read and follow .claude/skills/fix-github-issue/SKILL.md for the full workflow.
8488
After fixing, read and follow .claude/skills/raise-pr/SKILL.md to raise a PR.
8589
CI notes: use default Metro port (8081).
8690

0 commit comments

Comments
 (0)