Skip to content

Commit e7a85e8

Browse files
dependabot: Ignore patch updates
This commit ignores Python and GitHub Action patch updates. Major and minor versions will still trigger an update. Security updates are not changed. Package updates for every patch (major.minor.patch) is noisy. Focusing on major and minor will provide sufficient updates for packages used in this project. [1] [1] https://docs.github.com/en/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file#specifying-dependencies-and-versions-to-ignore
1 parent ac8410b commit e7a85e8

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

.github/dependabot.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,20 @@ updates:
88
schedule:
99
interval: "weekly"
1010
open-pull-requests-limit: 1
11+
ignore:
12+
# Ignore patch updates (major.minor.patch) for all packages. This
13+
# does not prevent security updates.
14+
- dependency-name: "*"
15+
update-types: ["version-update:semver-patch"]
1116

1217
# Enable version updates from GitHub Actions.
1318
- package-ecosystem: "github-actions"
1419
directory: "/"
1520
schedule:
1621
interval: "weekly"
1722
open-pull-requests-limit: 1
23+
ignore:
24+
# Ignore patch updates (major.minor.patch) for all packages. This
25+
# does not prevent security updates.
26+
- dependency-name: "*"
27+
update-types: ["version-update:semver-patch"]

0 commit comments

Comments
 (0)