# Locadex: Localization AI Agent: Auto-merge Pull Requests URL: https://generaltranslation.com/en-GB/docs/locadex/auto-merge.mdx --- title: Auto-merge Pull Requests description: Configure Locadex to automatically merge pull requests --- Auto-merge removes the need for manual PR review for pull requests generated by Locadex. When enabled, PRs created by Locadex are merged automatically without requiring your approval. This applies to all PRs created by Locadex, including: * Continuous i18n * Update Locales * Translation redeployments *This does not apply to Setup or Re-run Setup PRs.* For Mintlify projects, auto-merge is enabled by default. ## Enable auto-merge Navigate to the Locadex page in your dashboard and toggle auto-merge under "Run Configuration": ![Click the auto-merge toggle](https://assets.gtx.dev/locadex-screenshots/auto-merge/run-configuration.png) **Make sure to click "Save" after toggling auto-merge** to apply your changes. **Note**: The Auto-merge toggle only appears when "Locadex Action" is set to "Create pull request". ## Bypass branch protection rules If your default branch has protection rules, Locadex will continue creating PRs but cannot merge them automatically. Configure Locadex to bypass branch protection: ### Step 1: Open repository rulesets In your GitHub repository settings, select "Rulesets" from the Rules section. ### Step 2: Identify blocking rules Find rules that prevent automatic merges. Common blockers include: * "Require a pull request before merging" * Required status checks * Required review approvals ![Require a pull request before merging](https://assets.gtx.dev/locadex-screenshots/auto-merge/require-pull-request.png) **Note**: You may need to update multiple rules. ### Step 3: Add bypass permissions Click the rule blocking auto-merge, then: 1. Click "Add Bypass" 2. Select "Locadex Agent" from the dropdown ![Add Bypass button with "Locadex Agent" selected](https://assets.gtx.dev/locadex-screenshots/auto-merge/add-bypass.png) ### Step 4: Save changes Click "Save" at the bottom of the page to apply your changes. **Make sure to click "Save"** — this step is easy to miss.