Skip to content

kokuwaio/renovate-config-validator

Repository files navigation

Renovate Config Validatator Plugin

pulls size dockerfile license issues

A Woodpecker CI plugin for Renovate configuration validation.
Also usable with Gitlab, Github or locally, see examples for usage.

Features

  • preconfigure Renovate parameters
  • searches for Renovate files recursive
  • runnable with local docker daemon

Example

Woodpecker:

steps:
  renovate:
    image: kokuwaio/renovate-config-validator
    depends_on: []
    settings:
      strict: false
    when:
      event: pull_request
      path: renovate.json

Gitlab:

kokuwaio/renovate-config-validator:
  stage: lint
  needs: []
  image: kokuwaio/renovate-config-validator
  variables:
    PLUGIN_STRICT: false
  rules:
    - if: $CI_PIPELINE_SOURCE == "merge_request_event"
      changes: [renovate.json]

CLI:

docker run --rm --volume=$(pwd):$(pwd):ro --workdir=$(pwd) kokuwaio/renovate-config-validator

Settings

Settings Name Environment Default Description
strict PLUGIN_STRICT true Fail if a scanned config needs migration.

Alternatives

Image Comment amd64 arm64
kokuwaio/renovate-config-validator Woodpecker plugin size size
renovate/renovate not a Woodpecker plugin, official size size
rwslinkman/renovatebot-config-validator not a Woodpecker plugin, outdated size size

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published