|
| 1 | +# Auto-merge configuration for Dependabot PRs |
| 2 | +# This file configures which dependency updates should be merged automatically. |
| 3 | + |
| 4 | +# Configure here which dependency updates should be merged automatically. |
| 5 | +# The recommended configuration is the following: |
| 6 | +- match: |
| 7 | + # Merge patch updates for production dependencies |
| 8 | + dependency_type: production |
| 9 | + update_type: 'semver:patch' |
| 10 | +- match: |
| 11 | + # Merge patch and minor updates for development dependencies |
| 12 | + dependency_type: development |
| 13 | + update_type: 'semver:minor' |
| 14 | + |
| 15 | +# The syntax is based on the legacy dependabot v1 automerged_updates syntax, see: |
| 16 | +# https://dependabot.com/docs/config-file/#automerged_updates |
| 17 | + |
| 18 | +# IMPORTANT: Hierarchical matching applies: |
| 19 | +# - semver:patch → only patch updates (e.g., 1.0.0 → 1.0.1) |
| 20 | +# - semver:minor → patch AND minor updates (e.g., 1.0.0 → 1.0.1 or 1.0.0 → 1.1.0) |
| 21 | +# - semver:major → patch, minor, AND major updates (all version changes) |
| 22 | + |
| 23 | +# Additional examples: |
| 24 | + |
| 25 | +# Allow all patch updates only (both production and development): |
| 26 | +# - match: |
| 27 | +# update_type: 'semver:patch' |
| 28 | + |
| 29 | +# Allow patch and minor updates for development dependencies: |
| 30 | +# - match: |
| 31 | +# dependency_type: development |
| 32 | +# update_type: 'semver:minor' |
| 33 | + |
| 34 | +# Allow all updates (patch, minor, and major) for development dependencies: |
| 35 | +# - match: |
| 36 | +# dependency_type: development |
| 37 | +# update_type: 'semver:major' |
0 commit comments