|
| 1 | +# Dependabot configuration file |
| 2 | +# For more details on configuration options, see: |
| 3 | +# https://docs.github.com/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file |
| 4 | + |
| 5 | +version: 2 |
| 6 | +updates: |
| 7 | + |
| 8 | + # Update Node.js dependencies (package.json / yarn.lock) |
| 9 | + - package-ecosystem: "npm" # Ecosystem for JavaScript/Node.js packages |
| 10 | + directory: "/" # Location of package manifests (e.g., package.json) |
| 11 | + schedule: |
| 12 | + interval: "daily" # Check for updates daily |
| 13 | + open-pull-requests-limit: 10 # Limit the number of open PRs per ecosystem |
| 14 | + labels: # Automatically apply labels to PRs |
| 15 | + - "dependencies" |
| 16 | + - "automated" |
| 17 | + |
| 18 | + # Update Python dependencies (requirements.txt / Pipfile / pyproject.toml) |
| 19 | + - package-ecosystem: "pip" # Ecosystem for Python packages |
| 20 | + directory: "/" # Location of package manifests (e.g., requirements.txt) |
| 21 | + schedule: |
| 22 | + interval: "weekly" # Check for updates weekly |
| 23 | + day: "monday" # Specify the day of the week |
| 24 | + time: "08:00" # Specify the time of day (in UTC) |
| 25 | + rebase-strategy: "disabled" # Disable automatic rebasing of PRs |
| 26 | + |
| 27 | + # Update Ruby dependencies (Gemfile) |
| 28 | + - package-ecosystem: "bundler" # Ecosystem for Ruby packages |
| 29 | + directory: "/" # Location of package manifests (e.g., Gemfile) |
| 30 | + schedule: |
| 31 | + interval: "monthly" # Check for updates monthly |
| 32 | + versioning-strategy: "increase-if-necessary" # Only increase version if necessary |
| 33 | + |
| 34 | + # Update Docker image dependencies (Dockerfile) |
| 35 | + - package-ecosystem: "docker" # Ecosystem for container images |
| 36 | + directory: "/" # Location of Dockerfiles |
| 37 | + schedule: |
| 38 | + interval: "weekly" |
| 39 | + ignore: # Ignore specific dependencies or versions |
| 40 | + - dependency-name: "alpine" |
| 41 | + versions: ["3.15", "3.16"] |
| 42 | + commit-message: |
| 43 | + prefix: "chore" # Prefix for commit messages |
| 44 | + include: "scope" # Include scope in commit messages |
| 45 | + |
| 46 | + # Update GitHub Actions workflows (.github/workflows) |
| 47 | + - package-ecosystem: "github-actions" # Ecosystem for GitHub Actions |
| 48 | + directory: "/.github/workflows" # Location of workflow files |
| 49 | + schedule: |
| 50 | + interval: "daily" |
| 51 | + allow: |
| 52 | + - dependency-type: "all" # Allow updates for all types of dependencies |
| 53 | + |
| 54 | +# Optional global settings |
| 55 | +global: |
| 56 | + automerged-dependencies: [] # List of dependencies to auto-merge |
| 57 | + default-branch-only: true # Only monitor the default branch |
0 commit comments