A WoodpeckerCI plugin for renovate-config-validator to lint renovate files.
10K+
renovate-config-validator WoodpeckerCI PluginA WoodpeckerCI plugin for Renovate configuration validation.
Also usable with Gitlab, Github or locally, see examples for usage.
Woodpecker:
steps:
renovate:
depends_on: []
image: kokuwaio/renovate-config-validator:43
settings:
strict: false
when:
event: pull_request
path: renovate.json
Gitlab: (using script is needed because of https://gitlab.com/gitlab-org/gitlab/-/issues/19717)
renovate:
needs: []
stage: lint
image:
name: kokuwaio/renovate-config-validator:43
entrypoint: [""]
script: /usr/local/bin/entrypoint.sh
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:43
| Settings Name | Environment | Default | Description |
|---|---|---|---|
| files | PLUGIN_FILE | [] | Files to validate, if empty scan for common names. |
| strict | PLUGIN_STRICT | true | Fail if a scanned config needs migration. |
| validate-json | PLUGIN_VALIDATE_JSON | true | Fail if not valid json but json5. |
| Image | Comment | amd64 | arm64 |
|---|---|---|---|
| kokuwaio/renovate-config-validator | Woodpecker plugin | ||
| renovate/renovate | not a Woodpecker plugin, official | ||
| rwslinkman/renovatebot-config-validator | not a Woodpecker plugin, outdated |
Content type
Image
Digest
sha256:949be8465…
Size
101.9 MB
Last updated
about 14 hours ago
docker pull kokuwaio/renovate-config-validator:43