|
| 1 | +# Dependabot Configuration |
| 2 | + |
| 3 | +This repository uses [Dependabot](https://docs.github.com/en/code-security/dependabot) to automatically manage dependency updates. |
| 4 | + |
| 5 | +## What's Configured |
| 6 | + |
| 7 | +### 1. **npm Dependencies** (`/.github/dependabot.yml`) |
| 8 | + |
| 9 | +- **Schedule**: Weekly on Mondays at 06:00 UTC |
| 10 | +- **Grouping**: |
| 11 | + - `@dynatrace-sdk/*` packages are grouped together |
| 12 | + - Development dependencies are grouped separately |
| 13 | + - Major updates are grouped separately for careful review |
| 14 | +- **Limits**: Maximum 10 open PRs at once |
| 15 | +- **Auto-ignore**: Major version updates for `@modelcontextprotocol/sdk` and `dt-app` to prevent breaking changes |
| 16 | + |
| 17 | +### 2. **GitHub Actions** (`/.github/dependabot.yml`) |
| 18 | + |
| 19 | +- **Schedule**: Weekly on Mondays at 06:00 UTC |
| 20 | +- **Limits**: Maximum 5 open PRs at once |
| 21 | +- Updates GitHub Actions in workflows to latest versions |
| 22 | + |
| 23 | +### 3. **Docker Dependencies** (`/.github/dependabot.yml`) |
| 24 | + |
| 25 | +- **Schedule**: Weekly on Mondays at 06:00 UTC |
| 26 | +- **Limits**: Maximum 3 open PRs at once |
| 27 | +- Updates base images in Dockerfile |
| 28 | + |
| 29 | +## Manual Review Process |
| 30 | + |
| 31 | +All dependency updates require manual review and approval: |
| 32 | + |
| 33 | +- **All Updates**: Maintainers review and approve all dependency updates |
| 34 | +- **CI Testing**: All PRs go through the standard CI pipeline (build, test, prettier) |
| 35 | +- **Grouped PRs**: Related dependencies are updated together for easier review |
| 36 | +- **Clear Labeling**: PRs are properly categorized and assigned to maintainers |
| 37 | + |
| 38 | +## How It Works |
| 39 | + |
| 40 | +1. **Weekly Check**: Every Monday, Dependabot checks for outdated dependencies |
| 41 | +2. **PR Creation**: Creates PRs for available updates (grouped by category) |
| 42 | +3. **Assignment**: PRs are automatically assigned to `dynatrace-oss/dynatrace-mcp-maintainers` |
| 43 | +4. **CI Testing**: All PRs go through the standard CI pipeline (build, test, prettier) |
| 44 | +5. **Manual Review**: Maintainers review and manually merge approved PRs |
| 45 | +6. **Full Control**: No automatic merging ensures careful review of all changes |
| 46 | + |
| 47 | +## Customization |
| 48 | + |
| 49 | +To modify Dependabot behavior: |
| 50 | + |
| 51 | +- Edit `.github/dependabot.yml` for dependency monitoring configuration |
| 52 | +- Adjust grouping, scheduling, or ignore rules as needed |
| 53 | + |
| 54 | +## Benefits |
| 55 | + |
| 56 | +- **Security**: Automatic detection of security updates |
| 57 | +- **Visibility**: Clear overview of available dependency updates |
| 58 | +- **Organization**: Related dependencies are grouped together |
| 59 | +- **Control**: Full manual control over what gets merged and when |
| 60 | +- **CI Integration**: All updates are tested before review |
0 commit comments