{"name":"dependabot-yml","title":"dependabot.yml example","description":"A dependabot.yml example that groups npm minor and patch updates, keeps GitHub Actions and Docker base images current, and sets labels and commit prefixes.","category":"project","updated":"2026-11-30","url":"https://sniptide.com/templates/dependabot-yml","files":[{"name":".github/dependabot.yml","language":"yaml","content":"version: 2\nupdates:\n  # npm packages: one weekly pull request for minor and patch updates, separate ones for majors.\n  - package-ecosystem: npm\n    directory: /\n    schedule:\n      interval: weekly\n      day: monday\n      time: \"06:00\"\n      timezone: Europe/Vienna\n    open-pull-requests-limit: 10\n    groups:\n      minor-and-patch:\n        update-types: [minor, patch]\n    commit-message:\n      prefix: chore\n      include: scope\n    labels: [dependencies]\n\n  # GitHub Actions versions in .github/workflows.\n  - package-ecosystem: github-actions\n    directory: /\n    schedule:\n      interval: monthly\n    groups:\n      actions:\n        patterns: [\"*\"]\n    commit-message:\n      prefix: ci\n    labels: [dependencies]\n\n  # Base images in the Dockerfile.\n  - package-ecosystem: docker\n    directory: /\n    schedule:\n      interval: weekly\n    commit-message:\n      prefix: chore\n    labels: [dependencies]\n"}]}