mirror of
https://code.forgejo.org/forgejo/act.git
synced 2025-04-19 08:22:16 +03:00
- upgrade to golangci-lint@v1.62.2 - make it renovate friendly - remove most frequent lint check that are not of consequence (unused args, etc.) - fix remaining lint errors - add renovate custom manager to update the Makefile variable
32 lines
952 B
JSON
32 lines
952 B
JSON
{
|
|
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
|
|
"extends": ["local>forgejo/renovate-config"],
|
|
"packageRules": [
|
|
{
|
|
"description": "Disable runner test data",
|
|
"matchFileNames": ["pkg/runner/testdata/**"],
|
|
"enabled": false
|
|
},
|
|
{
|
|
"description": "Require approval for all dependencies",
|
|
"matchDepNames": ["/.+/"],
|
|
"dependencyDashboardApproval": true
|
|
},
|
|
{
|
|
"description": "Separate minor and patch for some packages",
|
|
"matchDepNames": ["github.com/rhysd/actionlint"],
|
|
"separateMinorPatch": true
|
|
}
|
|
],
|
|
"customManagers": [
|
|
{
|
|
"description": "Update deps inside Makefile",
|
|
"customType": "regex",
|
|
"fileMatch": ["^Makefile$"],
|
|
"matchStrings": [
|
|
" \\?= (?<depName>.+?)@(?<currentValue>.+?) # renovate: datasource=(?<datasource>.+?)(?: packageName=(?<packageName>.+?))?( versioning=(?<versioning>.+?))?\\s"
|
|
]
|
|
}
|
|
]
|
|
}
|