1
0
mirror of https://code.forgejo.org/forgejo/act.git synced 2025-04-19 08:22:16 +03:00
act/renovate.json
Earl Warren 733b614037
chore(lint): fix lint errors
- 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
2024-12-30 21:11:02 +00:00

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"
]
}
]
}