đ° New: Triage â a self-updating cross-repository queue that prioritizes pull requests by value and risk, so you always know what to review next. Explore Triage â
Have CodeRabbit merge low-risk pull requests once your conditions are met and the required checks pass, with or without a personâs approval.
Set up a PR Automation that merges a low-risk pull request once your conditions are met and the required checks pass.
Choose a setup
Setup
What gates the merge
Pick it when
Merge on conditions and checks
The Merge low-risk changes template as is. GitHubâs required checks and branch rules are the gate, and nothing waits for a person.
Your required checks are enough to trust a low-risk change.
Also require a personâs approval
The template plus the condition Provider review decisionisApproved, and a branch rule that needs a personâs approval.
Someone must sign off on every change before it merges.
What you get
The automation selects open pull requests whose Merge risk is Minimal or Low and whose Review depth is Light.
CodeRabbit merges with its GitHub App, so your branch rules apply to it. If the branch requires a merge queue, CodeRabbit adds the pull request to the queue.
With Merge on conditions and checks, any matching pull request that meets GitHubâs requirements merges, with no approval unless your branch rule requires one.
With Also require a personâs approval, a pull request merges only after a person approves its latest commit, whether or not CodeRabbit approves too. If a commit lands after the approval, the automation checks again on the new commit and waits for a fresh approval.
Pull requests that already match when you save merge only if you select them.
To stop, select Pause on the automationâs row in PR Automations, or delete it. CodeRabbit re-checks the conditions before it merges, so a pull request that stops matching before the merge, such as one whose label you remove during setup, doesnât merge. None of these takes a pull request out of GitHubâs merge queue or undoes a merge, which you revert in GitHub.
Recommended for setup: a triage-trial label in the repository
Someone with write access to the repository
GitHub: Issues > Labels
If the Auto-fix automation from Repair failing pull requests automatically already runs on these pull requests, step 1 turns off this automationâs own repairs, so only one of them pushes fixes.Optional: To tell CodeRabbit what counts as low risk for your team, describe it in Merge Risk Instructions.
Branch rule
For either setup, in the branch rule that protects the target branch:
Require the status checks that must pass before a merge.
Keep the CodeRabbit GitHub App off the rulesetâs bypass list. For classic branch protection, turn on Do not allow bypassing the above settings.
Merge on conditions and checks
Also require a person's approval
No approval requirement is needed. If the rule already requires approvals, GitHub still enforces them, and the merge waits for them.To check the rule before you create the automation, open a pull request against the branch. GitHub blocks merging until the required checks pass.
In the same rule:
Require enough approvals that a person must approve: one if CodeRabbit doesnât approve pull requests, as by default, or two if you use Automatic approvals. See CodeRabbit plus a person.
Dismiss stale approvals when new commits are pushed.
Optional: To require a specific person or team, add them to a CODEOWNERS file on the target branch and turn on Require review from Code Owners.
With this setup, a merge needs a personâs approval of the latest commit. If another bot approves pull requests, require one more approval for each such bot.To check the rule before you create the automation, open a pull request against the branch. GitHub reports that a review is required and blocks merging until someone approves.
1. Create the merge automation
Once saved, this automation merges matching pull requests into your protected branch as soon as they meet GitHubâs requirements, with nobody pressing merge. You undo a merge only by reverting it in GitHub.
1
Start from the template
In PR Automations, select Try now on Merge low-risk changes. The editor opens with all repositories, the trigger conditions PR state is Open, Merge risk is any of Minimal, Low, and Review depth is Light, and a Squash merge with auto fix on.
2
Optional: Require a person's approval
If you chose Also require a personâs approval, under Triggers, select the + on the trigger card and set the new condition to Provider review decisionisApproved. The conditions show and between them. Donât use Add trigger: it adds a separate trigger joined by OR, which can merge without an approval.
3
Choose the repository
Under Repositories, choose Selected and pick the repository. Use a test repository first if you have one. The repository gets its own card.
4
Optional: Limit it to pull requests you opt in
To keep the automation from merging a pull request you didnât mean to include while you check the results, on the repositoryâs card, select the +, set the new filterâs property to PR labels, keep has any of, and choose triage-trial. Anyone who can label pull requests, including the author, can opt one in. Without this filter, once you save, the automation merges every pull request in the repository that matches from then on.
5
Choose who repairs
If the Auto-fix automation already repairs these pull requests, or your organization has no Coding Agent access, set if PR requires fixes to Do not auto fix. Otherwise, keep Auto fix to repair failed checks and CodeRabbit findings before the merge. Each repair is a Coding Agent run that pushes a commit and can cost money.
6
Choose the merge method
In merge method, choose a method your branch rules allow. A branch that requires a merge queue always uses the queue.
7
Optional: Limit merge hours
To merge only while your team is around, set merge at to During selected hours, then select Merge hours and choose the days, hours, and timezone.
8
Save and enable
Select Save automation. This saves and enables it for future matches only. Without administrator access, the button reads Save as paused, and the automation doesnât run until an administrator turns it on.
2. Optional: Merge pull requests that already match
1
Open the matches
On the automationâs row in PR Automations, select Preview matches. It appears only when something matches.
2
Select pull requests
Select the pull requests to merge now, then select Review selection.
3
Confirm
Confirm the selection. Each pull request merges once GitHubâs requirements pass.
Test it
1
Open a pull request
In the repository you selected, open a small, contained pull request. If you set the label filter, add the triage-trial label. The pull request doesnât merge before the required checks pass.
2
Check the rating
Check that the Merge Risk line in CodeRabbitâs summary comment shows Minimal or Low for the latest commit and that the pull requestâs Triage card shows Light review before you expect a merge. You canât force either rating. Until CodeRabbit has reviewed the latest commit, or if either shows anything else, the automation doesnât act on this pull request. To show review depth on cards, see What you can toggle.
3
Optional: Approve as a person
If you chose Also require a personâs approval, ask a teammate to approve the latest commit, since GitHub doesnât let authors approve their own pull requests. Until then, GitHub reports that a review is required, and the pull request doesnât merge.
4
Check the outcome
Once the required checks pass, and the approval if you require one, the pull request merges, or its Triage card shows Queued to merge. In PR Automations, select View activity to see the automationâs run on the pull request.
Widen the scope
If you set the label filter, remove it once View activity shows merges only where you expect them. From then on, the automation merges every pull request in the repository whose Merge risk is Minimal or Low and whose Review depth is Light, once it meets your setupâs requirements.
1
Open the automation
In PR Automations, select the pencil icon on the automationâs row.
2
Remove the label filter
On the repositoryâs card, select the X on the PR labels filter.
3
Save
Select Save changes. When if PR requires fixes is set to Auto fix, the button reads Save automation. Pull requests that already match merge only if you select them in Preview matches.
If something doesnât work
The automation didnât act. Check that the pull requestâs ratings match Test it, then check the automationâs status and the pull requestâs outcome in View activity. See An automation rule did not run.
Variations
Merge only the pull requests a person picks. Start from Merge labeled changes in place of Merge low-risk changes. It has no Merge risk or Review depth conditions, so the label filter stays for good and a person chooses every pull request. To also require an approval, add Provider review decisionisApproved the same way. See Start with a template.
GitLab or Bitbucket. Support differs by provider and deployment, so check Provider availability. Where the provider canât repair before merging, set if PR requires fixes to Do not auto fix, because the default Auto fix blocks matching pull requests. Provider review decision isnât available on every provider, and PR labels filters work on GitLab but not on Bitbucket.
Whatâs next
Repair failing pull requests automatically
Fix failed checks and CodeRabbit findings on low-risk pull requests before they merge.
Remind reviewers in Slack
Nudge authors and reviewers about low-risk pull requests that wait for review.
Approval policies
Decide which approvals, if any, your branch rules require before anything merges.
Was this page helpful?
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"CodeRabbit","description":"Guides for CodeRabbit, the trust layer for agentic software development: review, prioritize, understand, and secure changes across pull requests, your IDE, CLI, and team chat.","colors":{"primary":"#FF570A","light":"#FF570A","dark":"#FF570A"},"logo":{"light":"https://mintcdn.com/coderabbit/qAZa_d7FrwPO_w-O/coderabbit-logo-light.svg?fit=max\u0026auto=format\u0026n=qAZa_d7FrwPO_w-O\u0026q=85\u0026s=d2bf9e91be0e760ec9cb468676fa6ab6","dark":"https://mintcdn.com/coderabbit/qAZa_d7FrwPO_w-O/coderabbit-logo-dark.svg?fit=max\u0026auto=format\u0026n=qAZa_d7FrwPO_w-O\u0026q=85\u0026s=feeb1667ed4a2768a15b271f130395c0","href":"/"},"favicon":{"light":"https://mintcdn.com/coderabbit/qAZa_d7FrwPO_w-O/favicon-light.svg?fit=max\u0026auto=format\u0026n=qAZa_d7FrwPO_w-O\u0026q=85\u0026s=c0b0fbea23b48949cc631606f2a30022","dark":"https://mintcdn.com/coderabbit/qAZa_d7FrwPO_w-O/favicon-dark.svg?fit=max\u0026auto=format\u0026n=qAZa_d7FrwPO_w-O\u0026q=85\u0026s=4db7fc04860b6907c7f236f05b37f5c6"},"api":{"openapi":"openapi.json","playground":{"display":"simple"},"examples":{"languages":["curl","python","javascript"]}},"navbar":{"primary":{"type":"button","label":"Sign up","href":"https://app.coderabbit.ai/login?free-trial="}},"footer":{"socials":{"x":"https://x.com/coderabbitai","linkedin":"https://www.linkedin.com/company/coderabbitai","github":"https://github.com/coderabbitai","discord":"https://discord.gg/GsXnASn26c"},"links":[{"header":"Resources","items":[{"label":"Blog","href":"https://coderabbit.ai/blog"},{"label":"Pricing","href":"https://www.coderabbit.ai/pricing"},{"label":"Changelog","href":"https://docs.coderabbit.ai/changelog"},{"label":"Support knowledge base","href":"https://kb.coderabbit.ai"}]},{"header":"Quick links","items":[{"label":"Schedule a demo","href":"https://www.coderabbit.ai/contact-us/sales"},{"label":"Get support","href":"https://docs.coderabbit.ai/support"},{"label":"Status page","href":"https://status.coderabbit.ai"},{"label":"Terms of service","href":"https://www.coderabbit.ai/terms-of-service"},{"label":"Privacy Policy","href":"https://coderabbit.ai/privacy-policy"}]}]},"seo":{"metatags":{"description":"Guides for CodeRabbit, the trust layer for agentic software development: review, prioritize, understand, and secure changes across pull requests, your IDE, CLI, and team chat.","og:type":"website","og:site_name":"CodeRabbit Documentation","og:locale":"en_US","twitter:card":"summary_large_image","twitter:site":"@coderabbitai","canonical":"https://docs.coderabbit.ai"}},"fonts":{"heading":{"family":"Geist"},"body":{"family":"Geist"}},"icons":{"library":"lucide"},"styling":{"eyebrows":"breadcrumbs","latex":true},"integrations":{"gtm":{"tagId":"GTM-5BWLXJRC"},"posthog":{"apiKey":"phc_6fDZRN9hYzB83I7Fk2GNHYqas4WMIdGBQ58aZ6EOZR0"}},"banner":{"content":"đ° New: **Triage** â a self-updating cross-repository queue that prioritizes pull requests by value and risk, so you always know what to review next. [Explore Triage â](/triage)","dismissible":true,"type":"info","color":{"light":"#171717","dark":"#171717"}},"errors":{"404":{"redirect":false,"title":"Page Not Found. Sorry!","description":"Find the current page URL in the [llms.txt](/llms.txt).\n\nTry **Search** or **Ask AI** to find what you're looking for.\nPress \u003ckbd>âK\u003c/kbd> (Mac) or \u003ckbd>Ctrl+K\u003c/kbd> (Windows/Linux) to open the search.\n\n\nNeed help? [Get support](/support)."}},"contextual":{"options":["copy","view","chatgpt","claude","perplexity","mcp","cursor","vscode"],"display":"header"},"markdown":{"instructions":["Search and read these docs from your coding agent with the [CodeRabbit documentation MCP server](https://docs.coderabbit.ai/mcp).","Give your coding agent the [CodeRabbit Agent Skill](https://docs.coderabbit.ai/.well-known/agent-skills/index.json) for configuring reviews, running CLI reviews, coding tasks and API calls."]},"navigation":{"global":{"anchors":[{"anchor":"Quickstart","icon":"rocket","hidden":false,"href":"/getting-started/quickstart"},{"anchor":"Blog","icon":"pen-line","hidden":true,"href":"https://coderabbit.ai/blog"},{"anchor":"Changelog","icon":"history","href":"/changelog"},{"anchor":"Support","icon":"life-buoy","href":"/support"},{"anchor":"Discord","icon":"discord","href":"https://discord.gg/coderabbit"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"coderabbit","hasAudioNarration":false,"actualSubdomain":"coderabbit","customDomains":["docs.coderabbit.ai"],"gitSource":{"type":"github","owner":"coderabbitai","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"feedback":{"thumbs":true,"agentFeedback":true},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6b0ddc997e77b089f69d382f","clientVersion":"0.0.4352","searchFilterCounts":[{"language":"default","tag":"API and MCP","count":179},{"language":"default","tag":"API reference","count":165},{"language":"default","tag":"Review","count":149},{"language":"default","tag":"Tools","count":61},{"language":"default","tag":"Per-tool guides","count":59},{"language":"default","tag":"Admin","count":56},{"language":"default","tag":"Agents","count":49},{"language":"default","tag":"Coding Agent","count":48},{"language":"default","tag":"Configuration","count":46},{"language":"default","tag":"Languages","count":39}]},"assistantConfig":{},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":true,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"site-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"treatment","enabled":true,"payload":{"type":"string","value":"treatment"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"googleFontsInlined":true},"customCss":[]}
{"page":{"pagePath":"triage/guides/merge-low-risk-pull-requests","slug":"/triage/guides/merge-low-risk-pull-requests","pageMetadata":{"title":"Merge low-risk pull requests automatically","sidebarTitle":"Merge low-risk pull requests","description":"Have CodeRabbit merge low-risk pull requests once your conditions are met and the required checks pass, with or without a person's approval.","href":"/triage/guides/merge-low-risk-pull-requests"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Have CodeRabbit merge low-risk pull requests once your conditions are met and the required checks pass, with or without a personâs approval.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];const TeamPlanBadge=({tip=`This feature is available on Team (formerly Pro+), Advanced, and Enterprise. Please refer to our pricing page for more information about our plans and features.`,title=`Team Plan`,cta=`Read more`,href=`https://coderabbit.ai/pricing`,disabled=false})=>{const{Badge,Tooltip}=_provideComponents()||{};if(!Badge)_missingMdxReference(`Badge`,true);if(!Tooltip)_missingMdxReference(`Tooltip`,true);return _jsx(Tooltip,{tip,cta,href,children:_jsx(Badge,{icon:`shield-plus`,disabled:disabled||undefined,children:title})})};const GitHubBadge=({tip=`This feature is available on GitHub and GitHub Enterprise.`,title=`GitHub`,cta,href,disabled=false})=>{const{Badge,Tooltip}=_provideComponents()||{};if(!Badge)_missingMdxReference(`Badge`,true);if(!Tooltip)_missingMdxReference(`Tooltip`,true);return _jsx(Tooltip,{tip,cta,href,children:_jsx(Badge,{icon:`github`,disabled:disabled||undefined,children:title})})};function _createMdxContent(props){const _components={a:`a`,code:`code`,li:`li`,p:`p`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,ul:`ul`,..._provideComponents(),...props.components},{Card,CardGroup,Danger,Heading,Step,Steps,Tab,Table,Tabs,_MdxComponentBoundary}=_components;if(!Card)_missingMdxReference(`Card`,true);if(!CardGroup)_missingMdxReference(`CardGroup`,true);if(!Danger)_missingMdxReference(`Danger`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Step)_missingMdxReference(`Step`,true);if(!Steps)_missingMdxReference(`Steps`,true);if(!Tab)_missingMdxReference(`Tab`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Tabs)_missingMdxReference(`Tabs`,true);if(!_MdxComponentBoundary)_missingMdxReference(`_MdxComponentBoundary`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`Set up a PR Automation that merges a low-risk pull request once your conditions are met and the required checks pass.`}),`\n`,_jsx(Heading,{level:`2`,id:`choose-a-setup`,children:`Choose a setup`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Setup`}),_jsx(_components.th,{children:`What gates the merge`}),_jsx(_components.th,{children:`Pick it when`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`Merge on conditions and checks`})}),_jsxs(_components.td,{children:[`The `,_jsx(_components.strong,{children:`Merge low-risk changes`}),` template as is. GitHubâs required checks and branch rules are the gate, and nothing waits for a person.`]}),_jsx(_components.td,{children:`Your required checks are enough to trust a low-risk change.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`Also require a personâs approval`})}),_jsxs(_components.td,{children:[`The template plus the condition `,_jsx(_components.strong,{children:`Provider review decision`}),` `,_jsx(_components.strong,{children:`is`}),` `,_jsx(_components.strong,{children:`Approved`}),`, and a branch rule that needs a personâs approval.`]}),_jsx(_components.td,{children:`Someone must sign off on every change before it merges.`})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`what-you-get`,children:`What you get`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`The automation selects open pull requests whose `,_jsx(_components.a,{href:`/pr-reviews/merge-risk`,children:`Merge risk`}),` is `,_jsx(_components.strong,{children:`Minimal`}),` or `,_jsx(_components.strong,{children:`Low`}),` and whose `,_jsx(_components.strong,{children:`Review depth`}),` is `,_jsx(_components.strong,{children:`Light`}),`.`]}),`\n`,_jsx(_components.li,{children:`CodeRabbit merges with its GitHub App, so your branch rules apply to it. If the branch requires a merge queue, CodeRabbit adds the pull request to the queue.`}),`\n`,_jsxs(_components.li,{children:[`With `,_jsx(_components.strong,{children:`Merge on conditions and checks`}),`, any matching pull request that meets GitHubâs requirements merges, with no approval unless your branch rule requires one.`]}),`\n`,_jsxs(_components.li,{children:[`With `,_jsx(_components.strong,{children:`Also require a personâs approval`}),`, a pull request merges only after a person approves its latest commit, whether or not CodeRabbit approves too. If a commit lands after the approval, the automation checks again on the new commit and waits for a fresh approval.`]}),`\n`,_jsx(_components.li,{children:`Pull requests that already match when you save merge only if you select them.`}),`\n`]}),`\n`,_jsxs(_components.p,{children:[`To stop, select `,_jsx(_components.strong,{children:`Pause`}),` on the automationâs row in `,_jsx(_components.a,{href:`https://app.coderabbit.ai/triage/settings`,children:`PR Automations`}),`, or delete it. CodeRabbit re-checks the conditions before it merges, so a pull request that stops matching before the merge, such as one whose label you remove during setup, doesnât merge. None of these takes a pull request out of GitHubâs merge queue or undoes a merge, which you revert in GitHub.`]}),`\n`,_jsx(Heading,{level:`2`,id:`before-you-start`,children:`Before you start`}),`\n`,_jsxs(_components.p,{children:[_jsx(_MdxComponentBoundary,{name:`GitHubBadge`,children:_jsx(GitHubBadge,{title:`GitHub Cloud`,tip:`This guide is written for GitHub Cloud (github.com). Other providers support fewer of its steps.`,cta:`Provider availability`,href:`/triage/rules#provider-availability`})}),` | `,_jsx(_MdxComponentBoundary,{name:`TeamPlanBadge`,children:_jsx(TeamPlanBadge,{})})]}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Requirement`}),_jsx(_components.th,{children:`Who does it`}),_jsx(_components.th,{children:`Where`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Permission to enable automations that merge`}),_jsx(_components.td,{children:`CodeRabbit organization administrator`}),_jsx(_components.td,{children:_jsx(_components.a,{href:`https://app.coderabbit.ai/triage/settings`,children:`PR Automations`})})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[`The `,_jsx(_components.a,{href:`#branch-rule`,children:`branch rule`}),` for your setup, described below`]}),_jsx(_components.td,{children:`Repository administrator in GitHub`}),_jsx(_components.td,{children:_jsx(_components.a,{href:`/pr-reviews/approval-policies#configure-github`,children:`Configure GitHub`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Optional: Coding Agent access for the organization, for repairs before the merge`}),_jsx(_components.td,{children:`CodeRabbit organization administrator`}),_jsx(_components.td,{children:_jsx(_components.a,{href:`/code/access-and-billing#access`,children:`Coding Agent access`})})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[`Recommended for setup: a `,_jsx(_components.code,{children:`triage-trial`}),` label in the repository`]}),_jsx(_components.td,{children:`Someone with write access to the repository`}),_jsxs(_components.td,{children:[`GitHub: `,_jsx(_components.strong,{children:`Issues`}),` > `,_jsx(_components.strong,{children:`Labels`})]})]})]})]}),`\n`,_jsxs(_components.p,{children:[`If the Auto-fix automation from `,_jsx(_components.a,{href:`/triage/guides/repair-failing-pull-requests`,children:`Repair failing pull requests automatically`}),` already runs on these pull requests, step 1 turns off this automationâs own repairs, so only one of them pushes fixes.`]}),`\n`,_jsxs(_components.p,{children:[`Optional: To tell CodeRabbit what counts as low risk for your team, describe it in `,_jsx(_components.a,{href:`/pr-reviews/merge-risk#guide-merge-risk`,children:`Merge Risk Instructions`}),`.`]}),`\n`,_jsx(Heading,{level:`3`,id:`branch-rule`,children:`Branch rule`}),`\n`,_jsx(_components.p,{children:`For either setup, in the branch rule that protects the target branch:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Require the status checks that must pass before a merge.`}),`\n`,_jsxs(_components.li,{children:[`Keep the CodeRabbit GitHub App off the rulesetâs bypass list. For classic branch protection, turn on `,_jsx(_components.strong,{children:`Do not allow bypassing the above settings`}),`.`]}),`\n`]}),`\n`,_jsxs(Tabs,{children:[_jsxs(Tab,{title:`Merge on conditions and checks`,id:`merge-on-conditions-and-checks`,children:[_jsx(_components.p,{children:`No approval requirement is needed. If the rule already requires approvals, GitHub still enforces them, and the merge waits for them.`}),_jsx(_components.p,{children:`To check the rule before you create the automation, open a pull request against the branch. GitHub blocks merging until the required checks pass.`})]}),_jsxs(Tab,{title:`Also require a person's approval`,id:`also-require-a-persons-approval`,children:[_jsx(_components.p,{children:`In the same rule:`}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`Require enough approvals that a person must approve: one if CodeRabbit doesnât approve pull requests, as by default, or two if you use `,_jsx(_components.a,{href:`/pr-reviews/automatic-approvals`,children:`Automatic approvals`}),`. See `,_jsx(_components.a,{href:`/pr-reviews/approval-policies#coderabbit-plus-a-person`,children:`CodeRabbit plus a person`}),`.`]}),`\n`,_jsx(_components.li,{children:`Dismiss stale approvals when new commits are pushed.`}),`\n`,_jsxs(_components.li,{children:[`Optional: To require a specific person or team, add them to a CODEOWNERS file on the target branch and turn on `,_jsx(_components.strong,{children:`Require review from Code Owners`}),`.`]}),`\n`]}),_jsx(_components.p,{children:`With this setup, a merge needs a personâs approval of the latest commit. If another bot approves pull requests, require one more approval for each such bot.`}),_jsx(_components.p,{children:`To check the rule before you create the automation, open a pull request against the branch. GitHub reports that a review is required and blocks merging until someone approves.`})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`1-create-the-merge-automation`,children:`1. Create the merge automation`}),`\n`,_jsx(Danger,{children:_jsx(_components.p,{children:`Once saved, this automation merges matching pull requests into your protected branch as soon as they meet GitHubâs requirements, with nobody pressing merge. You undo a merge only by reverting it in GitHub.`})}),`\n`,_jsxs(Steps,{children:[_jsx(Step,{title:`Start from the template`,children:_jsxs(_components.p,{children:[`In `,_jsx(_components.a,{href:`https://app.coderabbit.ai/triage/settings`,children:`PR Automations`}),`, select `,_jsx(_components.strong,{children:`Try now`}),` on `,_jsx(_components.strong,{children:`Merge low-risk changes`}),`. The editor opens with all repositories, the trigger conditions `,_jsx(_components.strong,{children:`PR state`}),` is `,_jsx(_components.strong,{children:`Open`}),`, `,_jsx(_components.strong,{children:`Merge risk`}),` is any of `,_jsx(_components.strong,{children:`Minimal`}),`, `,_jsx(_components.strong,{children:`Low`}),`, and `,_jsx(_components.strong,{children:`Review depth`}),` is `,_jsx(_components.strong,{children:`Light`}),`, and a `,_jsx(_components.strong,{children:`Squash`}),` merge with auto fix on.`]})}),_jsx(Step,{title:`Optional: Require a person's approval`,children:_jsxs(_components.p,{children:[`If you chose `,_jsx(_components.strong,{children:`Also require a personâs approval`}),`, under `,_jsx(_components.strong,{children:`Triggers`}),`, select the `,_jsx(_components.strong,{children:`+`}),` on the trigger card and set the new condition to `,_jsx(_components.strong,{children:`Provider review decision`}),` `,_jsx(_components.strong,{children:`is`}),` `,_jsx(_components.strong,{children:`Approved`}),`. The conditions show `,_jsx(_components.strong,{children:`and`}),` between them. Donât use `,_jsx(_components.strong,{children:`Add trigger`}),`: it adds a separate trigger joined by OR, which can merge without an approval.`]})}),_jsx(Step,{title:`Choose the repository`,children:_jsxs(_components.p,{children:[`Under `,_jsx(_components.strong,{children:`Repositories`}),`, choose `,_jsx(_components.strong,{children:`Selected`}),` and pick the repository. Use a test repository first if you have one. The repository gets its own card.`]})}),_jsx(Step,{title:`Optional: Limit it to pull requests you opt in`,children:_jsxs(_components.p,{children:[`To keep the automation from merging a pull request you didnât mean to include while you check the results, on the repositoryâs card, select the `,_jsx(_components.strong,{children:`+`}),`, set the new filterâs property to `,_jsx(_components.strong,{children:`PR labels`}),`, keep `,_jsx(_components.strong,{children:`has any of`}),`, and choose `,_jsx(_components.code,{children:`triage-trial`}),`. Anyone who can label pull requests, including the author, can opt one in. Without this filter, once you save, the automation merges every pull request in the repository that matches from then on.`]})}),_jsx(Step,{title:`Choose who repairs`,children:_jsxs(_components.p,{children:[`If the Auto-fix automation already repairs these pull requests, or your organization has no Coding Agent access, set `,_jsx(_components.strong,{children:`if PR requires fixes`}),` to `,_jsx(_components.strong,{children:`Do not auto fix`}),`. Otherwise, keep `,_jsx(_components.strong,{children:`Auto fix`}),` to repair failed checks and CodeRabbit findings before the merge. Each repair is a Coding Agent run that pushes a commit and `,_jsx(_components.a,{href:`/code/access-and-billing`,children:`can cost money`}),`.`]})}),_jsx(Step,{title:`Choose the merge method`,children:_jsxs(_components.p,{children:[`In `,_jsx(_components.strong,{children:`merge method`}),`, choose a method your branch rules allow. A branch that requires a merge queue always uses the queue.`]})}),_jsx(Step,{title:`Optional: Limit merge hours`,children:_jsxs(_components.p,{children:[`To merge only while your team is around, set `,_jsx(_components.strong,{children:`merge at`}),` to `,_jsx(_components.strong,{children:`During selected hours`}),`, then select `,_jsx(_components.strong,{children:`Merge hours`}),` and choose the days, hours, and timezone.`]})}),_jsx(Step,{title:`Save and enable`,children:_jsxs(_components.p,{children:[`Select `,_jsx(_components.strong,{children:`Save automation`}),`. This saves and enables it for future matches only. Without administrator access, the button reads `,_jsx(_components.strong,{children:`Save as paused`}),`, and the automation doesnât run until an administrator turns it on.`]})})]}),`\n`,_jsx(Heading,{level:`2`,id:`2-optional-merge-pull-requests-that-already-match`,children:`2. Optional: Merge pull requests that already match`}),`\n`,_jsxs(Steps,{children:[_jsx(Step,{title:`Open the matches`,children:_jsxs(_components.p,{children:[`On the automationâs row in PR Automations, select `,_jsx(_components.strong,{children:`Preview matches`}),`. It appears only when something matches.`]})}),_jsx(Step,{title:`Select pull requests`,children:_jsxs(_components.p,{children:[`Select the pull requests to merge now, then select `,_jsx(_components.strong,{children:`Review selection`}),`.`]})}),_jsx(Step,{title:`Confirm`,children:_jsx(_components.p,{children:`Confirm the selection. Each pull request merges once GitHubâs requirements pass.`})})]}),`\n`,_jsx(Heading,{level:`2`,id:`test-it`,children:`Test it`}),`\n`,_jsxs(Steps,{children:[_jsx(Step,{title:`Open a pull request`,children:_jsxs(_components.p,{children:[`In the repository you selected, open a small, contained pull request. If you set the label filter, add the `,_jsx(_components.code,{children:`triage-trial`}),` label. The pull request doesnât merge before the required checks pass.`]})}),_jsx(Step,{title:`Check the rating`,children:_jsxs(_components.p,{children:[`Check that the `,_jsx(_components.strong,{children:`Merge Risk`}),` line in CodeRabbitâs summary comment shows `,_jsx(_components.strong,{children:`Minimal`}),` or `,_jsx(_components.strong,{children:`Low`}),` for the latest commit and that the pull requestâs Triage card shows `,_jsx(_components.strong,{children:`Light review`}),` before you expect a merge. You canât force either rating. Until CodeRabbit has reviewed the latest commit, or if either shows anything else, the automation doesnât act on this pull request. To show review depth on cards, see `,_jsx(_components.a,{href:`/triage/your-triage-view#what-you-can-toggle`,children:`What you can toggle`}),`.`]})}),_jsx(Step,{title:`Optional: Approve as a person`,children:_jsxs(_components.p,{children:[`If you chose `,_jsx(_components.strong,{children:`Also require a personâs approval`}),`, ask a teammate to approve the latest commit, since GitHub doesnât let authors approve their own pull requests. Until then, GitHub reports that a review is required, and the pull request doesnât merge.`]})}),_jsx(Step,{title:`Check the outcome`,children:_jsxs(_components.p,{children:[`Once the required checks pass, and the approval if you require one, the pull request merges, or its Triage card shows `,_jsx(_components.strong,{children:`Queued to merge`}),`. In PR Automations, select `,_jsx(_components.strong,{children:`View activity`}),` to see the automationâs run on the pull request.`]})})]}),`\n`,_jsx(Heading,{level:`2`,id:`widen-the-scope`,children:`Widen the scope`}),`\n`,_jsxs(_components.p,{children:[`If you set the label filter, remove it once `,_jsx(_components.strong,{children:`View activity`}),` shows merges only where you expect them. From then on, the automation merges every pull request in the repository whose Merge risk is `,_jsx(_components.strong,{children:`Minimal`}),` or `,_jsx(_components.strong,{children:`Low`}),` and whose `,_jsx(_components.strong,{children:`Review depth`}),` is `,_jsx(_components.strong,{children:`Light`}),`, once it meets your setupâs requirements.`]}),`\n`,_jsxs(Steps,{children:[_jsx(Step,{title:`Open the automation`,children:_jsx(_components.p,{children:`In PR Automations, select the pencil icon on the automationâs row.`})}),_jsx(Step,{title:`Remove the label filter`,children:_jsxs(_components.p,{children:[`On the repositoryâs card, select the `,_jsx(_components.strong,{children:`X`}),` on the `,_jsx(_components.strong,{children:`PR labels`}),` filter.`]})}),_jsx(Step,{title:`Save`,children:_jsxs(_components.p,{children:[`Select `,_jsx(_components.strong,{children:`Save changes`}),`. When `,_jsx(_components.strong,{children:`if PR requires fixes`}),` is set to `,_jsx(_components.strong,{children:`Auto fix`}),`, the button reads `,_jsx(_components.strong,{children:`Save automation`}),`. Pull requests that already match merge only if you select them in `,_jsx(_components.strong,{children:`Preview matches`}),`.`]})})]}),`\n`,_jsx(Heading,{level:`2`,id:`if-something-doesnât-work`,children:`If something doesnât work`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`The automation didnât act.`}),` Check that the pull requestâs ratings match `,_jsx(_components.a,{href:`#test-it`,children:`Test it`}),`, then check the automationâs status and the pull requestâs outcome in `,_jsx(_components.strong,{children:`View activity`}),`. See `,_jsx(_components.a,{href:`/triage/troubleshooting#an-automation-rule-did-not-run`,children:`An automation rule did not run`}),`.`]}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`variations`,children:`Variations`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Merge only the pull requests a person picks.`}),` Start from `,_jsx(_components.strong,{children:`Merge labeled changes`}),` in place of `,_jsx(_components.strong,{children:`Merge low-risk changes`}),`. It has no `,_jsx(_components.strong,{children:`Merge risk`}),` or `,_jsx(_components.strong,{children:`Review depth`}),` conditions, so the label filter stays for good and a person chooses every pull request. To also require an approval, add `,_jsx(_components.strong,{children:`Provider review decision`}),` `,_jsx(_components.strong,{children:`is`}),` `,_jsx(_components.strong,{children:`Approved`}),` the same way. See `,_jsx(_components.a,{href:`/triage/rules#start-with-a-template`,children:`Start with a template`}),`.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`GitLab or Bitbucket.`}),` Support differs by provider and deployment, so check `,_jsx(_components.a,{href:`/triage/rules#provider-availability`,children:`Provider availability`}),`. Where the provider canât repair before merging, set `,_jsx(_components.strong,{children:`if PR requires fixes`}),` to `,_jsx(_components.strong,{children:`Do not auto fix`}),`, because the default `,_jsx(_components.strong,{children:`Auto fix`}),` blocks matching pull requests. `,_jsx(_components.strong,{children:`Provider review decision`}),` isnât available on every provider, and `,_jsx(_components.strong,{children:`PR labels`}),` filters work on GitLab but not on Bitbucket.`]}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`whatâs-next`,children:`Whatâs next`}),`\n`,_jsxs(CardGroup,{cols:1,children:[_jsx(Card,{title:`Repair failing pull requests automatically`,href:`/triage/guides/repair-failing-pull-requests`,icon:`wrench`,horizontal:true,children:_jsx(_components.p,{children:`Fix failed checks and CodeRabbit findings on low-risk pull requests before they merge.`})}),_jsx(Card,{title:`Remind reviewers in Slack`,href:`/triage/guides/remind-reviewers-in-slack`,icon:`bell`,horizontal:true,children:_jsx(_components.p,{children:`Nudge authors and reviewers about low-risk pull requests that wait for review.`})}),_jsx(Card,{title:`Approval policies`,href:`/pr-reviews/approval-policies`,icon:`shield-check`,horizontal:true,children:_jsx(_components.p,{children:`Decide which approvals, if any, your branch rules require before anything merges.`})})]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{TeamPlanBadge,GitHubBadge,default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Merge low-risk pull requests automatically","sidebarTitle":"Merge low-risk pull requests","description":"Have CodeRabbit merge low-risk pull requests once your conditions are met and the required checks pass, with or without a person's approval.","href":"/triage/guides/merge-low-risk-pull-requests"}}},"mdxSourceWithNoJs":null,"noJsSplices":[[149,1061,")=>null;const GitHubBadge=()=>null;funct"]]},"mdxExtracts":{"tableOfContents":[{"title":"Choose a setup","slug":"choose-a-setup","depth":2,"children":[]},{"title":"What you get","slug":"what-you-get","depth":2,"children":[]},{"title":"Before you start","slug":"before-you-start","depth":2,"children":[{"title":"Branch rule","slug":"branch-rule","depth":3,"children":[]}]},{"title":"1. Create the merge automation","slug":"1-create-the-merge-automation","depth":2,"children":[]},{"title":"2. Optional: Merge pull requests that already match","slug":"2-optional-merge-pull-requests-that-already-match","depth":2,"children":[]},{"title":"Test it","slug":"test-it","depth":2,"children":[]},{"title":"Widen the scope","slug":"widen-the-scope","depth":2,"children":[]},{"title":"If something doesnât work","slug":"if-something-doesnât-work","depth":2,"children":[]},{"title":"Variations","slug":"variations","depth":2,"children":[]},{"title":"Whatâs next","slug":"whatâs-next","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":["/_mintlify/custom/coderabbit/c83587702ff75216/inkeep.js","/_mintlify/custom/coderabbit/b7ecafa4358af1c7/yaml-editor.js","/_mintlify/custom/coderabbit/44fd990531d7b83e/acquisition.js"],"subdomain":"coderabbit","siteName":"CodeRabbit","title":"Merge low-risk pull requests automatically - CodeRabbit","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-30T20:27:27.947Z","originalFileLocation":"triage/guides/merge-low-risk-pull-requests.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Have CodeRabbit merge low-risk pull requests once your conditions are met and the required checks pass, with or without a person\u0026#x27;s approval.\">\u003cmeta data-mint-head name=\"application-name\" content=\"CodeRabbit\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/coderabbit/d4muCEkFHyXyjg4k/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/coderabbit/d4muCEkFHyXyjg4k/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/coderabbit/d4muCEkFHyXyjg4k/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/coderabbit/d4muCEkFHyXyjg4k/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/coderabbit/d4muCEkFHyXyjg4k/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/coderabbit/d4muCEkFHyXyjg4k/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/coderabbit/d4muCEkFHyXyjg4k/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/coderabbit/d4muCEkFHyXyjg4k/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/coderabbit/d4muCEkFHyXyjg4k/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Merge low-risk pull requests automatically - CodeRabbit\">\u003cmeta data-mint-head property=\"og:description\" content=\"Have CodeRabbit merge low-risk pull requests once your conditions are met and the required checks pass, with or without a person\u0026#x27;s approval.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"CodeRabbit Documentation\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.coderabbit.ai/triage/guides/merge-low-risk-pull-requests\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://coderabbit.mintlify.site/_mintlify/api/og/v2?division=Low-risk+PRs%3A+open+to+merged\u0026amp;title=Merge+low-risk+pull+requests+automatically\u0026amp;description=Have+CodeRabbit+merge+low-risk+pull+requests+once+your+conditions+are+met+and+the+required+checks+pass%2C+with+or+without+a+person%27s+approval.\u0026amp;theme=e25dc9e67170d7dae31e0b2f\u0026amp;signature=85cebfb87182920b4ba9708833c30a8403f7b3cdd201be9cf3201a0557e3e6b9\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Merge low-risk pull requests automatically - CodeRabbit\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Have CodeRabbit merge low-risk pull requests once your conditions are met and the required checks pass, with or without a person\u0026#x27;s approval.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://coderabbit.mintlify.site/_mintlify/api/og/v2?division=Low-risk+PRs%3A+open+to+merged\u0026amp;title=Merge+low-risk+pull+requests+automatically\u0026amp;description=Have+CodeRabbit+merge+low-risk+pull+requests+once+your+conditions+are+met+and+the+required+checks+pass%2C+with+or+without+a+person%27s+approval.\u0026amp;theme=e25dc9e67170d7dae31e0b2f\u0026amp;signature=85cebfb87182920b4ba9708833c30a8403f7b3cdd201be9cf3201a0557e3e6b9\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/coderabbit/d4muCEkFHyXyjg4k/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"CodeRabbit\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#FF570A\">\u003cmeta data-mint-head name=\"og:locale\" content=\"en_US\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.coderabbit.ai/triage/guides/merge-low-risk-pull-requests\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/triage/guides/merge-low-risk-pull-requests.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.coderabbit.ai/#organization\",\"name\":\"CodeRabbit\",\"url\":\"https://docs.coderabbit.ai\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/coderabbit/qAZa_d7FrwPO_w-O/coderabbit-logo-light.svg?fit=max\u0026auto=format\u0026n=qAZa_d7FrwPO_w-O\u0026q=85\u0026s=d2bf9e91be0e760ec9cb468676fa6ab6\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.coderabbit.ai#website\",\"name\":\"CodeRabbit\",\"url\":\"https://docs.coderabbit.ai\",\"publisher\":{\"@id\":\"https://docs.coderabbit.ai/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.coderabbit.ai/triage/guides/merge-low-risk-pull-requests#webpage\",\"url\":\"https://docs.coderabbit.ai/triage/guides/merge-low-risk-pull-requests\",\"name\":\"Merge low-risk pull requests automatically\",\"description\":\"Have CodeRabbit merge low-risk pull requests once your conditions are met and the required checks pass, with or without a person's approval.\",\"dateModified\":\"2026-11-30T20:27:27.947Z\",\"isPartOf\":{\"@id\":\"https://docs.coderabbit.ai#website\"},\"breadcrumb\":{\"@id\":\"https://docs.coderabbit.ai/triage/guides/merge-low-risk-pull-requests#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.coderabbit.ai/triage/guides/merge-low-risk-pull-requests#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Guides\",\"item\":\"https://docs.coderabbit.ai/triage/guides/remind-reviewers-in-slack\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Low-risk PRs: open to merged\",\"item\":\"https://docs.coderabbit.ai/triage/guides/low-risk-prs-open-to-merged\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Merge low-risk pull requests automatically\",\"item\":\"https://docs.coderabbit.ai/triage/guides/merge-low-risk-pull-requests\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.coderabbit.ai/triage/guides/merge-low-risk-pull-requests#article\",\"headline\":\"Merge low-risk pull requests automatically\",\"name\":\"Merge low-risk pull requests automatically\",\"description\":\"Have CodeRabbit merge low-risk pull requests once your conditions are met and the required checks pass, with or without a person's approval.\",\"url\":\"https://docs.coderabbit.ai/triage/guides/merge-low-risk-pull-requests\",\"mainEntityOfPage\":{\"@id\":\"https://docs.coderabbit.ai/triage/guides/merge-low-risk-pull-requests#webpage\"},\"dateModified\":\"2026-11-30T20:27:27.947Z\",\"publisher\":{\"@id\":\"https://docs.coderabbit.ai/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.coderabbit.ai#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"CodeRabbit\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"CodeRabbit\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/triage/guides/merge-low-risk-pull-requests.md","siteName":"CodeRabbit","nav":{"global":{"anchors":[{"anchor":"Quickstart","icon":"rocket","hidden":false,"href":"/getting-started/quickstart"},{"anchor":"Blog","icon":"pen-line","hidden":true,"href":"https://coderabbit.ai/blog"},{"anchor":"Changelog","icon":"history","href":"/changelog"},{"anchor":"Support","icon":"life-buoy","href":"/support"},{"anchor":"Discord","icon":"discord","href":"https://discord.gg/coderabbit"}]},"tabs":[{"tab":"Review","icon":"git-pull-request","pages":[{"title":"Review","href":""}]},{"tab":"Triage","icon":"list-filter","pages":[{"title":"CodeRabbit Triage","sidebarTitle":"Triage overview","mode":"wide","href":"/triage"},{"title":"Your Triage view","sidebarTitle":"Your Triage view","href":"/triage/your-triage-view"},{"title":"How Triage prioritizes","sidebarTitle":"Prioritization","href":"/triage/prioritization"},{"title":"Actions on a pull request","sidebarTitle":"Actions","href":"/triage/actions"},{"title":"Triage settings","sidebarTitle":"Rules and automation","href":"/triage/rules"},{"title":"Triage in Slack","sidebarTitle":"Triage in Slack","href":"/triage/slack"},{"group":"Guides","icon":"book-open","pages":[{"group":"Low-risk PRs: open to merged","root":{"title":"Take low-risk pull requests from open to merged","sidebarTitle":"Low-risk PRs: open to merged","href":"/triage/guides/low-risk-prs-open-to-merged"},"pages":[{"title":"Remind reviewers in Slack","sidebarTitle":"Remind reviewers in Slack","href":"/triage/guides/remind-reviewers-in-slack"},{"title":"Repair failing pull requests automatically","sidebarTitle":"Repair failing pull requests","description":"Have the Coding Agent push fixes for failed CI checks and CodeRabbit findings to pull requests.","href":"/triage/guides/repair-failing-pull-requests"},{"title":"Merge low-risk pull requests automatically","sidebarTitle":"Merge low-risk pull requests","href":"/triage/guides/merge-low-risk-pull-requests"}]}]},{"title":"Requirements and FAQ","sidebarTitle":"Requirements and FAQ","description":"Who can open Triage, what plan and provider it needs, and which actions require a Review seat.","href":"/triage/faq"},{"title":"Troubleshooting Triage","sidebarTitle":"Troubleshooting","href":"/triage/troubleshooting"}]},{"tab":"Explain","icon":"layers","pages":[{"title":"Explain","href":"/change-stack"}]},{"tab":"Verify","icon":"flask-conical","pages":[{"title":"Verify","href":"/verify"}]},{"tab":"Secure","icon":"shield-check","pages":[{"title":"Secure","href":"/security"}]},{"tab":"Agents","icon":"bot","menu":[{"item":"Coding Agent","icon":"square-code","description":"Delegate coding tasks from the web app","pages":[{"title":"Coding Agent","href":"/code"}]},{"item":"Agent for Slack","icon":"slack","description":"Ask, plan and open pull requests from Slack","pages":[{"title":"Agent for Slack","href":"/agent"}]},{"item":"Agent for Discord","icon":"discord","description":"The same agent in Discord","pages":[{"title":"Agent for Discord","href":"/discord-agent"}]},{"item":"Automations","icon":"workflow","description":"Triggers, instructions and destinations","pages":[{"title":"Automations","href":"/automations"}]}],"pages":[{"title":"Agents","href":"/code"}]},{"tab":"CLI and IDE","icon":"square-terminal","pages":[{"title":"CLI and IDE","href":"/cli-ide-overview"}]},{"tab":"API and MCP","icon":"braces","pages":[{"title":"API and MCP","href":"/api"}]},{"tab":"Admin","icon":"wrench","pages":[{"title":"Admin","href":"/management"}]}]},"basePath":"","title":"Merge low-risk pull requests automatically - CodeRabbit","deploymentId":"dpl_5nNsUVHqbVdUHouroPPzwztSbjmH","buildId":"dpl_5nNsUVHqbVdUHouroPPzwztSbjmH","dynamics":["10e4515597"],"chunks":["BannerMarkdown-DJLtvPWC.js","dist-CAcI43Vk.js","lib-DMeTj1gb.js","lib-B8HbPgcC.js","katex-Dbtb6Wk7.js","html-void-elements-mCSPHezU.js","marked.esm-CZWythHk.js"]}