52 lines
1.3 KiB
JSON
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"]
|
|
}
|
|
}
|