Public Access
generated from Philipp/template-git
Philipp/Global-Workflows: Pre-commit Lint (Scoped) / pre-commit (pull_request) Successful in 36s
40 lines
977 B
JSON
40 lines
977 B
JSON
{
|
|
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
|
|
"extends": [
|
|
"config:recommended"
|
|
],
|
|
"customManagers": [
|
|
{
|
|
"customType": "regex",
|
|
"fileMatch": [
|
|
"^action\\.ya?ml$"
|
|
],
|
|
"matchStrings": [
|
|
"TRIVY_VERSION:\\s*(?<currentValue>[0-9]+\\.[0-9]+\\.[0-9]+)\\s*#\\s*trivy-version"
|
|
],
|
|
"depNameTemplate": "aquasecurity/trivy",
|
|
"datasourceTemplate": "github-releases",
|
|
"versioningTemplate": "semver"
|
|
}
|
|
],
|
|
"packageRules": [
|
|
{
|
|
"matchDatasources": [
|
|
"github-releases"
|
|
],
|
|
"matchPackageNames": [
|
|
"aquasecurity/trivy"
|
|
],
|
|
"postUpgradeTasks": {
|
|
"commands": [
|
|
"curl -sfL https://github.com/aquasecurity/trivy/releases/download/v{{{newVersion}}}/trivy_{{{newVersion}}}_checksums.txt -o checksums.txt"
|
|
],
|
|
"fileFilters": [
|
|
"checksums.txt"
|
|
],
|
|
"executionMode": "update"
|
|
}
|
|
}
|
|
]
|
|
}
|