fix(ci): post Cursor triage as netcatty-bot#2444
Conversation
Use the bot PAT for classify prepare/apply and implement needs-human comments so issue activity shows netcatty-bot instead of github-actions. Treat netcatty-bot as an own actor for automation PR loops.
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 9b42ec6056
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| PULL_NUMBER: ${{ needs.route.outputs.pull_number }} | ||
| MAX_ROUNDS: ${{ vars.CURSOR_CODEX_FIX_MAX_ROUNDS || '40' }} | ||
| OWN_ACTORS: ${{ vars.AUTOMATION_OWN_ACTORS || 'binaricat' }} | ||
| OWN_ACTORS: ${{ vars.AUTOMATION_OWN_ACTORS || 'binaricat,netcatty-bot,github-actions[bot]' }} |
There was a problem hiding this comment.
Keep github-actions[bot] out of own actor defaults
In the codex_loop job, adding github-actions[bot] to OWN_ACTORS makes isFixEligiblePr() return true for every same-repo PR authored by GitHub Actions before its existing bot-PR marker checks run. That means an unrelated workflow-created PR with no automation:bot-pr label, no bot marker, and no cursor/* branch can enter the Cursor/Codex fix loop and have automated fixes pushed to it instead of being ignored/comment-only; leave github-actions[bot] out of OWN_ACTORS so the helper's marker-based safeguard still applies.
Useful? React with 👍 / 👎.
Automatic Codex fix did not finish cleanly (agent, protected paths, or verification failed). Marking for human review. |
Summary
TRIAGE_GITHUB_TOKENso comments/labels appear as netcatty-bot.netcatty-botin defaultOWN_ACTORSfor own-PR automation loops.TRIAGE_GITHUB_TOKENalready set to the bot PAT.Test plan