Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,17 @@ updates:
applies-to: version-updates
patterns:
- "*"
update-types:
- "minor"
- "patch"
Comment on lines +20 to +22

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

high

Using update-types within a group will filter which updates are included in the grouped pull request, but it will not prevent Dependabot from creating separate PRs for updates that don't match (i.e., major version updates).

If your goal is to completely stop receiving PRs for major version updates, the recommended approach is to use a top-level ignore rule for the pip package ecosystem. This would apply to all pip dependencies.

Here is an example of how you could configure this:

- package-ecosystem: "pip"
  directory: "/"
  # ... other settings ...
  ignore:
    - dependency-name: "*"
      update-types: ["version-update:semver-major"]
  groups:
    pip-dev-dependencies:
      dependency-type: "development"
      patterns: ["*"]
    pip-prod-dependencies:
      dependency-type: "production"
      patterns: ["*"]

With this setup, you would remove the update-types sections you've added here from the groups, as the ignore rule would handle blocking major updates for you globally.

dependency-type: development
pip-prod-dependencies:
applies-to: version-updates
patterns:
- "*"
update-types:
- "minor"
- "patch"
dependency-type: production
- package-ecosystem: "github-actions"
directory: "/"
Expand Down