Skip to content

Nithos/renovate-bug

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Renovate Bug

Renovate parser correctly FAILS when processing the Renovate configuration file as foo is not a valid preset value. However the configuration validator tool passes with the same configuration.

Fails as intended

During procesing it fails correctly with validation error: Cannot find preset's package (foo)

docker run --rm -v $PWD/renovate.json:/usr/src/app/renovate.json -e RENOVATE_TOKEN=token -e RENOVATE_REPOSITORIES=repo-path -it renovate/renovate

Passes using the validator

The config validator tool does not detect the bad configuration but it

docker run --rm -v $PWD/renovate.json:/usr/src/app/renovate.json -e RENOVATE_TOKEN=token -e RENOVATE_REPOSITORIES=repo-path -it renovate/renovate renovate-config-validator

Bad configuration fields not added to the extends preset section seem to be detected correctly.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published