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
17 changes: 17 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,25 @@ updates:
- "*"
ignore:
- dependency-name: k8s.io/api
update-types:
- version-update:semver-major
- version-update:semver-minor
Comment on lines +15 to +17
Copy link
Contributor

Choose a reason for hiding this comment

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

@MaciejKaras I had a look at the Dependabot docs. Do I understand correctly that with this change we say - "you must still not update major and minor versions for us so we can do that manually, but if you see a new patch version - please bump it"?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

yes, that's what I understood as well. We basically block dependabot to think about updating major and minor versions, but allow him to update patches. This is beneficial for any security or plain bug fixes.

- dependency-name: k8s.io/apimachinery
update-types:
- version-update:semver-major
- version-update:semver-minor
- dependency-name: k8s.io/client-go
update-types:
- version-update:semver-major
- version-update:semver-minor
- dependency-name: k8s.io/code-generator
update-types:
- version-update:semver-major
- version-update:semver-minor
- dependency-name: sigs.k8s.io/controller-runtime
update-types:
- version-update:semver-major
- version-update:semver-minor
labels:
- dependencies
- go
Expand All @@ -33,6 +48,8 @@ updates:
- "*"
ignore:
- dependency-name: kubernetes
update-types:
- version-update:semver-major
labels:
- dependencies
- python
Expand Down