GitHub issue to pull request automation: every option in 2026
GitHub issue to pull request automation in 2026: Actions, the Claude Code Action, Copilot, Jules, Kiro, OpenHands, Cursor, Codex, Devin and Sinatra, compared.
On this page
GitHub issue to pull request automation used to mean one thing: a scheduled workflow that regenerated some files and opened a PR nobody read. In 2026 it means a range, from a 30-line YAML file that commits templated changes to an autonomous agent that reads the issue, writes the fix, runs your tests, and asks for review. The right choice depends on how much understanding the change requires, and the honest answer is different for different issues in the same backlog.
This is a roundup of every serious option, ordered from scripted to autonomous.
Product details checked October 2026. Vendors change; check their docs for current specifics.
GitHub Actions and scripted PRs
The oldest option is still the best one for a whole class of work. A workflow triggers on an event (a label, a schedule, a push), runs a script that changes files, and hands the result to an action like peter-evans/create-pull-request, which commits the changes and opens the PR. The action is on its eighth major version, actively maintained, and has been the standard way to do this for years.
The key property: the script decides what changes, so the output is deterministic. That makes it the right tool when the change is templated and the issue is only a trigger. Dependency bumps, regenerating code from a schema, syncing a changelog, formatting sweeps. It is the wrong tool the moment the change requires reading the issue and understanding the code, because the workflow does neither. You wrote the fix in advance; the automation just delivers it.
Cost is Actions minutes, and debugging is ordinary CI debugging. If your issue backlog contains recurring, predictable changes, this option never embarrasses you.
Claude Code GitHub Action
Anthropic's Claude Code GitHub Action sits halfway between a scripted workflow and a hosted agent. You install the Claude GitHub App, store an API key or a Claude subscription token as a secret, and commit a workflow file. From then on, @claude in an issue or pull request comment, or in the body of a new issue, starts a run on a GitHub-hosted runner. You pay Actions minutes plus the model: API tokens, or your Claude plan if the secret is an OAuth token from claude setup-token.
The workflow file is both the cost and the point. Every repository needs one, which adds up across twenty repos, though one organization-level secret can serve them all if it holds an API key; Anthropic advises against sharing one person's subscription token that way. In exchange you can read and edit exactly what the agent is allowed to do.
GitHub Copilot coding agent
GitHub's own agent (its docs have started calling it Copilot cloud agent) is the lowest-friction way to point AI at an issue if you're already paying for Copilot. You assign the issue to Copilot the way you'd assign a person: open the assignees list, pick Copilot, optionally add guidance. It works in an ephemeral environment powered by GitHub Actions where it can explore the code, make changes, and run tests, then opens a pull request and requests your review (GitHub's docs).
The strengths are the obvious ones: there's nothing new to onboard, and batch-assigning a backlog of small issues is genuinely convenient. The tradeoffs are platform-shaped. It's on every Copilot plan except Free (the free Student plan includes it), each session spends AI credits for the tokens it uses plus Actions minutes, and the model menu is what GitHub offers. If your team lives entirely inside GitHub and already has Copilot seats, it's the natural default to test first.
Google Jules
Jules has the trigger closest to a plain label workflow. Install the Jules GitHub App, add the jules label to an issue (case doesn't matter), and Jules comments on the issue, works in a cloud VM that clones your repo, and links the pull request when it's done. It's priced in tasks rather than tokens: the free plan allows 15 tasks a day with 3 running at once, Google AI Pro raises that to 100 and 15, and Ultra to 300 and 60 (usage limits). The paid tiers are sold only to individual Google accounts for now, so it's an easy personal experiment and an awkward team purchase.
Kiro
AWS's Kiro offers both gestures. Add the kiro label and it starts work and listens to every comment on the issue; comment /kiro and it takes just that issue. You authorize its GitHub app once per organization or account, and it clones repositories into an isolated sandbox. The cloud agent needs a paid plan, from Pro at $20 a user a month with 1,000 credits, and Kiro publishes no conversion from credits to tokens, so you find out what a task cost after it runs (pricing).
OpenHands
OpenHands is the open-source path, and it has the most direct issue trigger of the agent options: on OpenHands Cloud with the GitHub integration installed, you label an issue openhands or mention @openhands in a comment, and the agent picks it up, comments with a link to its session, and opens a pull request if it resolves the issue (OpenHands docs). Because the core is open source, you can also run the agent yourself and bring your own model keys, which puts the operational work (and the token bill) on your side.
Open source buys you control and model freedom, and costs you operations. Running an agent fleet is real infrastructure work: sandboxing, credential handling, upgrades, monitoring. Their cloud removes that at the price of another hosted service. It's the strongest option for teams that want to inspect or modify the agent itself.
Cursor Cloud Agents
Cursor's cloud agents start from a comment. With the Cursor GitHub app installed, @cursor on a GitHub issue or pull request kicks off an agent in an isolated cloud VM. Cursor is now sold as part of The X Subscription, alongside Grok and X, and cloud agents need the Premium plan ($30 a month) or above. Cursor's own models draw on the plan's weekly usage pool; third-party models bill at their API list price from prepaid credit (pricing). If your team already writes its code in Cursor, this is the shortest hop.
OpenAI Codex
Codex lives on the pull request rather than the issue. Comment @codex review on a PR for a code review; mention @codex with anything else and it starts a cloud chat with the PR as context. Its GitHub docs describe no trigger on an issue itself. Usage comes out of your ChatGPT plan's allowance, from Plus at $20 a month, and an API key unlocks none of the cloud features (pricing). For an issue-driven loop you'd commit the openai/codex-action workflow with an API key secret and decide the trigger yourself.
Devin
Devin (from Cognition) is the most session-shaped of the group. Its GitHub integration is about the output side of the loop: connect it to your organization and Devin can create pull requests and respond to PR comments (Devin's docs). A comment that starts with /devin on an open pull request starts a new session, but comments on issues are ignored. To start from an issue you build an automation: its GitHub source fires on issue events, such as a label being added, or on an issue comment, which the docs suggest pairing with a /devin prefix. Otherwise sessions start from the Devin app or its API.
That shape fits how Devin is positioned: longer supervised sessions on larger tasks rather than fire-and-forget tickets. For "label an issue, get a PR" it takes the most wiring of the agents here; for "work through this migration with oversight" it's the most natural.
Sinatra
Sinatra (that's us) is built specifically around the issue-to-PR loop. On GitHub, you add the Sinatra label to an issue. The agent starts an isolated sandbox, checks out the repo, and makes the change on a branch; progress lands as comments on the issue, and the pull request opens as a draft while the work is still in flight. It runs the test command you configured and reviews its own diff, then marks the PR ready for you. Review comments on the PR turn into revisions on the same branch. A merge that resolves the issue closes it, and the task is a conversation rather than a single PR, so it keeps taking replies after that. If the issue is vague, it asks questions or proposes a plan before writing code.
The distinguishing choices are the review loop and the economics. You bring your own Anthropic or OpenRouter key, or connect a Claude, ChatGPT or SuperGrok subscription you already pay for, and Sinatra never bills for model usage; the free tier runs 1 agent at a time, plus 1 waiting, on your own key or subscription, with no daily limit, and Pro is $20 a month for the whole workspace, with 3 agents at a time, plus 10 waiting. Model and behavior are per-repo config. We wrote up the workflow in detail in how to automatically fix GitHub issues with an AI agent, and the product page is at /use-cases/github-issues-to-prs.
GitHub issue to pull request automation, compared
| Option | How an issue triggers it | Setup effort | What it can handle | Cost model |
|---|---|---|---|---|
| Actions + create-pull-request | Workflow event: label, schedule, push | One YAML file, plus the script that makes the change | Templated, predictable changes only | GitHub Actions minutes |
| Claude Code GitHub Action | @claude in an issue or PR comment, or a new issue's body | Workflow file and secret per repo (or one org secret) | Issue and PR work you can scope in a prompt | Actions minutes plus API tokens or your Claude plan |
| Copilot coding agent | Assign the issue to Copilot | Minutes, if you have Copilot seats | Small to medium changes in-repo | Any Copilot plan but Free; AI credits by tokens used, plus Actions minutes |
| Google Jules | jules label | Install the Jules GitHub App | Small to medium changes, with a plan you can approve | Free: 15 tasks a day; more on Google AI Pro and Ultra |
| Kiro | kiro label or /kiro comment | Authorize the Kiro GitHub app once per org | Issue-driven changes in its sandbox | Paid plans from $20 a user a month, in credits |
| OpenHands | openhands label or @openhands mention (cloud) | Install the integration, or self-host the stack | Issue-driven fixes; depends on the model you bring | Open source self-hosted (your models, your ops) or their cloud |
| Cursor Cloud Agents | @cursor on an issue or PR | Install the Cursor GitHub app | Changes you'd otherwise make in the Cursor editor | Premium plan ($30/mo) and up; third-party models at API price |
| OpenAI Codex | @codex on a pull request; no documented issue trigger | Connect the repo to Codex | PR reviews and follow-up changes | ChatGPT plan allowance, from Plus at $20/mo |
| Devin | /devin on an open PR; issues only through an automation you set up | Connect the GitHub integration, then configure the automation | Longer supervised sessions and larger tasks | Pro $20/mo, Max $200/mo, Teams from $80/mo; then extra usage at API pricing |
| Sinatra | Add the Sinatra label | Connect repos; optional .sinatrarc.json | Well-specified issues end to end, with a revision loop | Free: 1 agent at a time, plus 1 waiting, BYOK; Pro $20/mo per workspace, any number of people; never bills model usage |
When each one fits
Use Actions when the change is knowable in advance. If you can write the script, write the script. Deterministic automation doesn't hallucinate, and it costs almost nothing to run. Most teams should keep this layer even after adopting an agent.
Use the Claude Code Action when you have a few repositories, a Claude plan or key, and someone happy to own a workflow file in each.
Use Copilot coding agent when you're already inside the GitHub and Copilot ecosystem and want the shortest path to trying agent-written PRs. A few backlog issues fit inside your Copilot plan's AI credits and your account's included Actions minutes.
Use Jules when it's you and a Google account and you want a label-driven agent for free, within its daily task count. Kiro fits the same label habit if your team already works in AWS's editor.
Use OpenHands when control matters more than convenience: you want to read the agent's code, run it on your own infrastructure, or pick models the hosted vendors don't offer, and you have the engineering appetite to operate it.
Use Cursor or Codex when your team already lives in that editor or that ChatGPT plan, and the pull request is where you want to talk to the agent.
Use Devin when the work is bigger than an issue: migrations and multi-step projects where you want to supervise a session rather than review a finished PR.
Use Sinatra when the backlog is the problem: a steady stream of well-specified issues you want turned into reviewable PRs without a person context-switching for each one, on models and keys you control.
The categories overlap less than the marketing suggests. A scripted workflow and an autonomous agent aren't competitors; they're different answers to "how much does this change require understanding?" Most teams end up with a scripted layer for the predictable work and one agent for the rest.
Common questions
Yes, if the change is templated. A workflow can trigger on an issue label, run a script, and open a PR with create-pull-request. What Actions alone can't do is read the issue and decide what code to write. The moment the fix requires understanding, you need an agent on top, or a person.
No. Every option here ends in a pull request on a branch, so your review process and branch protections apply. In Sinatra's case this is explicit policy: the PR is the gate, and nothing reaches your default branch until a person merges it. Whatever tool you pick, keep it that way.
For templated changes, Actions: minutes are cheap and there's no model involved. For agent work, the biggest cost variable is token pricing. Tools that bill you for models at a markup cost more at volume than bring-your-own-key pricing, where you pay your provider directly. That comparison is worth running on your own numbers before you standardize on anything.
Fix the issue text first; every option here does better with a clear spec, and the scripted options require one by definition. Agents differ in how they fail: some guess, some ask. When a ticket is vague, Sinatra asks questions or proposes a plan on the issue before it writes code, which turns a bad ticket into a short conversation instead of a wrong PR.
If your backlog has both kinds of work, start at both ends: script the change you can predict, and hand one well-specified issue to an agent. You can start for free, or read the docs to see the setup before you commit.
Assign the issue. Come back to a PR.
Sinatra picks up work from Linear, GitHub and Slack and opens a draft pull request for your team to review. Bring your own Claude or Codex access; Sinatra never bills for model usage.