Add dependabot configuration for dspace-9_x. Set a specific time for each to run so that they run together as much as possible.

This commit is contained in:
Tim Donohue
2025-05-28 11:44:34 -05:00
parent c15831191f
commit ee95cbfaef

View File

@@ -13,6 +13,7 @@ updates:
directory: "/" directory: "/"
schedule: schedule:
interval: "weekly" interval: "weekly"
time: "05:00"
# Allow up to 10 open PRs for dependencies # Allow up to 10 open PRs for dependencies
open-pull-requests-limit: 10 open-pull-requests-limit: 10
# Group together Angular package upgrades # Group together Angular package upgrades
@@ -146,6 +147,85 @@ updates:
- dependency-name: "*" - dependency-name: "*"
update-types: ["version-update:semver-major"] update-types: ["version-update:semver-major"]
##################### #####################
## dspace-9_x branch
#####################
- package-ecosystem: "npm"
directory: "/"
target-branch: dspace-9_x
schedule:
interval: "weekly"
time: "05:00"
# Allow up to 10 open PRs for dependencies
open-pull-requests-limit: 10
# Group together Angular package upgrades
groups:
# Group together all patch version updates for Angular in a single PR
angular:
applies-to: version-updates
patterns:
- "@angular*"
update-types:
- "minor"
- "patch"
# Group together all minor/patch version updates for NgRx in a single PR
ngrx:
applies-to: version-updates
patterns:
- "@ngrx*"
update-types:
- "minor"
- "patch"
# Group together all patch version updates for eslint in a single PR
eslint:
applies-to: version-updates
patterns:
- "@typescript-eslint*"
- "eslint*"
update-types:
- "minor"
- "patch"
# Group together any testing related version updates
testing:
applies-to: version-updates
patterns:
- "@cypress*"
- "axe-*"
- "cypress*"
- "jasmine*"
- "karma*"
- "ng-mocks"
update-types:
- "minor"
- "patch"
# Group together any postcss related version updates
postcss:
applies-to: version-updates
patterns:
- "postcss*"
update-types:
- "minor"
- "patch"
# Group together any sass related version updates
sass:
applies-to: version-updates
patterns:
- "sass*"
update-types:
- "minor"
- "patch"
# Group together any webpack related version updates
webpack:
applies-to: version-updates
patterns:
- "webpack*"
update-types:
- "minor"
- "patch"
ignore:
# Ignore all major version updates for all dependencies. We'll only automate minor/patch updates.
- dependency-name: "*"
update-types: ["version-update:semver-major"]
#####################
## dspace-8_x branch ## dspace-8_x branch
##################### #####################
- package-ecosystem: "npm" - package-ecosystem: "npm"
@@ -153,6 +233,7 @@ updates:
target-branch: dspace-8_x target-branch: dspace-8_x
schedule: schedule:
interval: "weekly" interval: "weekly"
time: "05:00"
# Allow up to 10 open PRs for dependencies # Allow up to 10 open PRs for dependencies
open-pull-requests-limit: 10 open-pull-requests-limit: 10
# Group together Angular package upgrades # Group together Angular package upgrades
@@ -231,6 +312,7 @@ updates:
target-branch: dspace-7_x target-branch: dspace-7_x
schedule: schedule:
interval: "weekly" interval: "weekly"
time: "05:00"
# Allow up to 10 open PRs for dependencies # Allow up to 10 open PRs for dependencies
open-pull-requests-limit: 10 open-pull-requests-limit: 10
# Group together Angular package upgrades # Group together Angular package upgrades