Describe the bug
When using the cooldown option in the evergreen config, the dependabot.yml that is ultimately pushed will include the cooldown on the github-actions type, which does not support cooldown currently.
To Reproduce
- Use normal setup
- Use the following evergreen config:
---
cooldown:
default-days: 7
semver-major-days: 14
semver-minor-days: 7
semver-patch-days: 3
exclude:
- "critical-package"
Expected behavior
The cooldown block is only applied to ecosystems that allow that configuration.
Screenshots
Additional context
The produced config given the evergreen config provided looks like so:
version: 2
updates:
- package-ecosystem: 'npm'
directory: '/'
schedule:
interval: 'weekly'
groups:
production-dependencies:
dependency-type: 'production'
development-dependencies:
dependency-type: 'development'
cooldown:
default-days: 7
semver-major-days: 14
semver-minor-days: 7
semver-patch-days: 3
exclude:
- 'critical-package'
- package-ecosystem: 'github-actions'
directory: '/'
schedule:
interval: 'weekly'
groups:
production-dependencies:
dependency-type: 'production'
development-dependencies:
dependency-type: 'development'
cooldown:
default-days: 7
semver-major-days: 14
semver-minor-days: 7
semver-patch-days: 3
exclude:
- 'critical-package'
You can see the cooldown key being added to the github-actions ecosystem.
Describe the bug
When using the cooldown option in the evergreen config, the
dependabot.ymlthat is ultimately pushed will include the cooldown on thegithub-actionstype, which does not support cooldown currently.To Reproduce
Expected behavior
The cooldown block is only applied to ecosystems that allow that configuration.
Screenshots
Additional context
The produced config given the evergreen config provided looks like so:
You can see the
cooldownkey being added to thegithub-actionsecosystem.