runrunit_create_pr_github
Plans or opens a GitHub PR for a Runrun.it task on development/homolog branches using your PR template. Defaults to plan until approved:true.
Instructions
Plans or opens one GitHub pull request to development or homolog, never main or master (only by user request). Reuses .github/PULL_REQUEST_TEMPLATE.md. Default is plan (no push, no gh pr create). Pass approved:true only after the user accepts title, body, base, and branch. Does not comment on Runrun.it or capture screenshots; those are follow-up actions in the response. After execution the response includes pull_request_url, branch, and target_environment.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| base | No | Target branch. Default development. main and master are rejected. | |
| type | Yes | PR title type, for example feat or fix. | |
| labels | No | PR labels. When omitted, one label is derived from type. | |
| task_id | No | Task number, or task_[número]. Used in branch names and commit subjects. | |
| approved | No | Default false. When false or omitted, returns a plan and does not change git. Set true only after the user approves that plan. | |
| reviewers | No | GitHub reviewers. Optional. | |
| references | No | ||
| change_type | No | Checkbox in the PR template. | |
| description | No | Body description. Defaults to title_description. | |
| project_root | Yes | Absolute path of the git repository. Required for tools that read or write that repo. | |
| title_description | Yes | Short PR title description. | |
| include_visual_evidence | No | When false, omits the visual evidence section of the template. |