Simplify Dependabot config using 'directories'

This commit is contained in:
Daz DeBoer 2024-12-11 07:50:05 -07:00 committed by GitHub
parent 375738a38b
commit 35af9b8791
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -5,6 +5,7 @@ registries:
url: https://plugins.gradle.org/m2 url: https://plugins.gradle.org/m2
username: dummy # Required by dependabot username: dummy # Required by dependabot
password: dummy # Required by dependabot password: dummy # Required by dependabot
updates: updates:
- package-ecosystem: "npm" - package-ecosystem: "npm"
directory: "/sources" directory: "/sources"
@ -16,25 +17,12 @@ updates:
- "*" - "*"
- package-ecosystem: "github-actions" - package-ecosystem: "github-actions"
directory: "/" # github-actions with directory: "/" only monitors .github/workflows
schedule: # https://github.com/dependabot/dependabot-core/issues/6345
interval: "weekly" directories:
groups: - "/"
github-actions: - "/.github/actions/build-dist"
patterns: - "/.github/actions/init-integ-test"
- "*"
# github-actions with directory: "/" only monitors .github/workflows
# https://github.com/dependabot/dependabot-core/issues/6345
- package-ecosystem: "github-actions"
directory: "/.github/actions/build-dist"
schedule:
interval: "weekly"
groups:
github-actions:
patterns:
- "*"
- package-ecosystem: "github-actions"
directory: "/.github/actions/init-integ-test"
schedule: schedule:
interval: "weekly" interval: "weekly"
groups: groups:
@ -43,44 +31,19 @@ updates:
- "*" - "*"
- package-ecosystem: "gradle" - package-ecosystem: "gradle"
directory: ".github/workflow-samples/gradle-plugin" directories:
registries: - ".github/workflow-samples/gradle-plugin"
- gradle-plugin-portal - ".github/workflow-samples/groovy-dsl"
schedule: - ".github/workflow-samples/java-toolchain"
interval: "weekly" - ".github/workflow-samples/kotlin-dsl"
- package-ecosystem: "gradle" - ".github/workflow-samples/no-wrapper"
directory: ".github/workflow-samples/groovy-dsl" - ".github/workflow-samples/no-wrapper-gradle-5"
registries: - "sources/test/init-scripts"
- gradle-plugin-portal
schedule:
interval: "weekly"
- package-ecosystem: "gradle"
directory: ".github/workflow-samples/java-toolchain"
registries:
- gradle-plugin-portal
schedule:
interval: "weekly"
- package-ecosystem: "gradle"
directory: ".github/workflow-samples/kotlin-dsl"
registries:
- gradle-plugin-portal
schedule:
interval: "weekly"
- package-ecosystem: "gradle"
directory: ".github/workflow-samples/no-wrapper"
registries:
- gradle-plugin-portal
schedule:
interval: "weekly"
- package-ecosystem: "gradle"
directory: ".github/workflow-samples/no-wrapper-gradle-5"
registries:
- gradle-plugin-portal
schedule:
interval: "weekly"
- package-ecosystem: "gradle"
directory: "sources/test/init-scripts"
registries: registries:
- gradle-plugin-portal - gradle-plugin-portal
schedule: schedule:
interval: "weekly" interval: "weekly"
groups:
gradle:
patterns:
- "*"