Skip to content

Commit

Permalink
dependabot: Add config to ignore most versions
Browse files Browse the repository at this point in the history
* Ignore patch for dependencies
* Ignore minor and below for serde
* Ignore minor and below for tokio

Taken from lava-gitlab-runner.
  • Loading branch information
ColinKinloch authored and sjoerdsimons committed Jan 17, 2025
1 parent 6142a4c commit bb720b4
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/dependabot.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# Please see the documentation for all configuration options:
# https://help.github.com/github/administering-a-repository/configuration-options-for-dependency-updates
---
version: 2
updates:
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "daily"
labels:
- "dependencies"

- package-ecosystem: "cargo"
directory: "/"
schedule:
interval: "daily"
labels:
- "dependencies"
# Not yet supported. See <https://github.com/dependabot/dependabot-core/issues/4009>
# versioning-strategy: "increase-if-necessary"
ignore:
- dependency-name: "tokio"
update-types:
- "version-update:semver-minor"
- "version-update:semver-patch"
- dependency-name: "serde"
update-types:
- "version-update:semver-minor"
- "version-update:semver-patch"
- dependency-name: "*"
update-types:
- "version-update:semver-patch"

0 comments on commit bb720b4

Please sign in to comment.