mirror of
https://github.com/renovatebot/github-action.git
synced 2026-02-04 19:08:08 +00:00
75 lines
2.5 KiB
JSON
75 lines
2.5 KiB
JSON
{
|
|
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
|
|
"extends": ["github>renovatebot/.github", ":pinDependencies"],
|
|
"packageRules": [
|
|
{
|
|
"description": "Use build semantic type for some deps",
|
|
"matchPackageNames": ["@vercel/ncc", "typescript"],
|
|
"semanticCommitType": "build"
|
|
},
|
|
{
|
|
"description": "Use `build` semantic commit scope for lockfile maintenance",
|
|
"matchUpdateTypes": ["lockFileMaintenance"],
|
|
"semanticCommitType": "build"
|
|
},
|
|
{
|
|
"description": "Use ci semantic type for some deps",
|
|
"matchFileNames": [".github/workflows/**"],
|
|
"semanticCommitType": "ci"
|
|
},
|
|
{
|
|
"description": "Don't require approval for renovate",
|
|
"matchPackageNames": [
|
|
"ghcr.io/renovatebot/renovate",
|
|
"renovatebot/github-action"
|
|
],
|
|
"dependencyDashboardApproval": false
|
|
},
|
|
{
|
|
"description": "Don't pin renovate updates",
|
|
"matchPackageNames": ["ghcr.io/renovatebot/renovate"],
|
|
"pinDigests": false
|
|
},
|
|
{
|
|
"description": "Use feat! semantic type for renovate major",
|
|
"matchPackageNames": ["ghcr.io/renovatebot/renovate"],
|
|
"matchUpdateTypes": ["major"],
|
|
"commitMessagePrefix": "feat(deps)!:",
|
|
"additionalBranchPrefix": "renovate-major"
|
|
}
|
|
],
|
|
"customManagers": [
|
|
{
|
|
"customType": "regex",
|
|
"managerFilePatterns": ["README.md"],
|
|
"matchStrings": [
|
|
"uses: renovatebot/github-action@(?<currentValue>[^\\s]+)"
|
|
],
|
|
"depNameTemplate": "renovatebot/github-action",
|
|
"datasourceTemplate": "github-releases"
|
|
},
|
|
{
|
|
"customType": "regex",
|
|
"managerFilePatterns": ["README.md"],
|
|
"matchStrings": ["renovate-version: (?<currentValue>[^\\s]+)"],
|
|
"depNameTemplate": "ghcr.io/renovatebot/renovate",
|
|
"datasourceTemplate": "docker"
|
|
},
|
|
{
|
|
"description": "Update renovate version in action.yml",
|
|
"customType": "regex",
|
|
"managerFilePatterns": ["action.yml"],
|
|
"matchStrings": ["default: '(?<currentValue>[^\\s]+)' # renovate"],
|
|
"depNameTemplate": "ghcr.io/renovatebot/renovate",
|
|
"datasourceTemplate": "docker"
|
|
},
|
|
{
|
|
"description": "Update renovate version in src/docker.ts",
|
|
"customType": "regex",
|
|
"managerFilePatterns": ["src/docker.ts"],
|
|
"matchStrings": ["version = '(?<currentValue>[^\\s]+)'; // renovate"],
|
|
"depNameTemplate": "ghcr.io/renovatebot/renovate",
|
|
"datasourceTemplate": "docker"
|
|
}
|
|
]
|
|
}
|