Commit b5a7d30
authored
chore(ci): fix agent-fix issue targeting and PR token usage (#2200)
* chore(ci): strengthen AGENT_PR_TOKEN usage in raise-pr skill
Add token verification step and fallback to prevent PRs being created
with the wrong token (default GITHUB_TOKEN shows as app/github-actions
and can't be merged). Adds post-creation author check.
* 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 b878bf6 commit b5a7d30
2 files changed
Lines changed: 14 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
125 | 125 | | |
126 | 126 | | |
127 | 127 | | |
128 | | - | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
129 | 136 | | |
130 | 137 | | |
| 138 | + | |
131 | 139 | | |
132 | 140 | | |
133 | 141 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
80 | 80 | | |
81 | 81 | | |
82 | 82 | | |
83 | | - | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
84 | 88 | | |
85 | 89 | | |
86 | 90 | | |
| |||
0 commit comments