.github/dependabot.yml: adjust rules for zone.js

As @angular/core uses the "~" specifier to pin zone.js to a patch
version,dependabot should not try to update minor versions here.

See: https://github.com/angular/angular/blob/18.2.x/packages/core/package.json
This commit is contained in:
Alan Orth
2025-06-04 09:48:31 +03:00
parent 0ec98a576a
commit c838b4298c

View File

@@ -142,6 +142,13 @@ updates:
update-types:
- "minor"
- "patch"
# Restrict zone.js updates to patch level to avoid dependency conflicts with @angular/core
zonejs:
applies-to: version-updates
patterns:
- "zone.js"
update-types:
- "patch"
ignore:
# Ignore all major version updates for all dependencies. We'll only automate minor/patch updates.
- dependency-name: "*"
@@ -221,6 +228,13 @@ updates:
update-types:
- "minor"
- "patch"
# Restrict zone.js updates to patch level to avoid dependency conflicts with @angular/core
zonejs:
applies-to: version-updates
patterns:
- "zone.js"
update-types:
- "patch"
ignore:
# Ignore all major version updates for all dependencies. We'll only automate minor/patch updates.
- dependency-name: "*"
@@ -300,6 +314,13 @@ updates:
update-types:
- "minor"
- "patch"
# Restrict zone.js updates to patch level to avoid dependency conflicts with @angular/core
zonejs:
applies-to: version-updates
patterns:
- "zone.js"
update-types:
- "patch"
ignore:
# Ignore all major version updates for all dependencies. We'll only automate minor/patch updates.
- dependency-name: "*"
@@ -371,6 +392,13 @@ updates:
update-types:
- "minor"
- "patch"
# Restrict zone.js updates to patch level to avoid dependency conflicts with @angular/core
zonejs:
applies-to: version-updates
patterns:
- "zone.js"
update-types:
- "patch"
ignore:
# 7.x Cannot update Webpack past v5.76.1 as later versions not supported by Angular 15
# See also https://github.com/DSpace/dspace-angular/pull/3283#issuecomment-2372488489