This repository uses Renovate Bot with auto-merge functionality enabled. The platformAutomerge is set to true, which enables GitHub's native auto-merge feature for Renovate pull requests.
IMPORTANT: Before any auto-merge occurs, all required checks must pass, including:
- Psalm Static Analysis - Must pass successfully
- All other CI/CD pipeline tests must pass
- Branch protection rules must be satisfied
- Renovate creates a pull request for a dependency update
- GitHub's auto-merge is automatically enabled on the PR
- GitHub Actions/CI pipeline runs automatically
- Psalm static analysis tests are executed
- If Psalm and all other required checks pass ✅
- GitHub automatically merges the PR to
main
- GitHub automatically merges the PR to
- If Psalm or any check fails ❌
- The PR remains open
- No auto-merge occurs
- Manual review and fixes are required
The auto-merge will NOT proceed if:
- ❌ Psalm detects any type errors or issues
- ❌ Any required status check fails
- ❌ Branch protection rules are not met
- ❌ Merge conflicts exist
This ensures that only dependency updates that pass all quality gates (including Psalm static analysis) are automatically merged to the main branch.
The Renovate configuration in renovate.json includes:
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"config:recommended"
],
"platformAutomerge": true,
"major": {
"dependencyDashboardApproval": true
}
}The platformAutomerge: true setting leverages GitHub's native auto-merge functionality, working in conjunction with your branch protection rules and required status checks to maintain code quality.
- 🚀 Faster dependency updates
- 🛡️ Protected by Psalm static analysis
- ✅ Only merges when all tests pass
- 🔒 Main branch remains stable
- 🔄 Uses GitHub's native auto-merge feature
Major version updates require manual approval via the Renovate Dependency Dashboard due to the "dependencyDashboardApproval": true setting for major updates.