mirror of
https://github.com/renovatebot/github-action.git
synced 2025-12-16 17:02:36 +00:00
As noticed after the release of v42, we had a couple of PRs (#960 and #961) which were bumping the major version of Renovate, but only one was treated as a major version. This makes sure that we're treating them the same, so they get bumped together.
97 lines
3.1 KiB
JSON
97 lines
3.1 KiB
JSON
{
|
|
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
|
|
"extends": ["github>renovatebot/.github", ":pinDependencies"],
|
|
"packageRules": [
|
|
{
|
|
"description": "Update references in Markdown files weekly",
|
|
"matchFileNames": ["**/*.md"],
|
|
"extends": ["schedule:weekly"],
|
|
"automerge": true,
|
|
"minimumReleaseAge": null,
|
|
"separateMajorMinor": false,
|
|
"commitMessageTopic": "references to {{{depName}}}",
|
|
"semanticCommitType": "docs",
|
|
"semanticCommitScope": null,
|
|
"additionalBranchPrefix": "docs-"
|
|
},
|
|
{
|
|
"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"],
|
|
"matchFileNames": [
|
|
"action.yml",
|
|
"src/docker.ts",
|
|
".github/workflows/build.yml"
|
|
],
|
|
"pinDigests": false
|
|
},
|
|
{
|
|
"description": "Use feat! semantic type for renovate major",
|
|
"matchPackageNames": ["ghcr.io/renovatebot/renovate"],
|
|
"matchFileNames": [
|
|
"action.yml",
|
|
"src/docker.ts",
|
|
".github/workflows/build.yml"
|
|
],
|
|
"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"
|
|
}
|
|
]
|
|
}
|