Files
adguard-cidre/renovate.json
T
Djeex 01dbf55e93
CI / build-and-scan (push) Successful in 2m16s
Track CI tool images with Renovate (#23)
## Summary
- Custom Renovate manager for the CI tool images pinned in `docker run`/`docker create` commands (Trivy, gitleaks, hadolint), which the default managers do not detect.
- Renovate will now open PRs to bump them; they are not automerged.

## Test plan
- [ ] CI green on this PR
- [ ] After merge, Renovate opens a PR bumping Trivy
- [ ] That PR passes CI before merging

Reviewed-on: #23
Co-authored-by: Djeex <[email protected]>
2026-11-21 18:46:36 +01:00

52 lines
1.3 KiB
JSON

{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": ["config:recommended", "docker:pinDigests"],
"timezone": "Europe/Paris",
"minimumReleaseAge": "3 days",
"labels": ["bot"],
"customManagers": [
{
"customType": "regex",
"description": "Docker images pinned in CI 'docker run' / 'docker create' commands",
"managerFilePatterns": ["/^\\.gitea/workflows/.+\\.ya?ml$/"],
"matchStrings": [
"(?<depName>(?:zricethezav/gitleaks|hadolint/hadolint|aquasec/trivy)):(?<currentValue>v?\\d+\\.\\d+\\.\\d+(?:-[a-z]+)?)"
],
"datasourceTemplate": "docker"
}
],
"packageRules": [
{
"matchManagers": ["pip_requirements"],
"minimumReleaseAge": "7 days"
},
{
"matchManagers": ["pip_requirements"],
"matchUpdateTypes": ["patch", "minor"],
"automerge": true
},
{
"matchManagers": ["dockerfile"],
"matchUpdateTypes": ["patch"],
"automerge": true
},
{
"matchManagers": ["dockerfile"],
"matchUpdateTypes": ["pin", "digest"],
"automerge": true
},
{
"matchUpdateTypes": ["major"],
"addLabels": ["major"]
},
{
"matchUpdateTypes": ["minor"],
"addLabels": ["minor"]
}
],
"vulnerabilityAlerts": {
"enabled": true,
"addLabels": ["bug"]
}
}