-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
103 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,103 @@ | ||
{ | ||
"$schema": "https://docs.renovatebot.com/renovate-schema.json", | ||
"extends": [ | ||
"config:recommended", | ||
":dependencyDashboard", | ||
":enablePreCommit", | ||
":automergeBranch", | ||
], | ||
"dependencyDashboard": true, | ||
"dependencyDashboardTitle": "Renovate Dashboard 🤖", | ||
"schedule": ["before 5am"], | ||
// commit message topics | ||
"commitMessageTopic": "{{depName}}", | ||
"commitMessageExtra": "to {{newVersion}}", | ||
"commitMessageSuffix": "", | ||
// package rules | ||
"packageRules": [ | ||
// automerge | ||
{ | ||
"description": ["Auto merge Github Actions"], | ||
"matchManagers": ["github-actions"], | ||
"automerge": true, | ||
"automergeType": "branch", | ||
"ignoreTests": true, | ||
"matchUpdateTypes": ["minor", "patch"] | ||
}, | ||
{ | ||
"matchDatasources": ["github-releases", "github-tags"], | ||
"matchUpdateTypes": ["major"], | ||
"commitMessagePrefix": "feat(github-release)!: " | ||
}, | ||
{ | ||
"matchDatasources": ["github-releases", "github-tags"], | ||
"matchUpdateTypes": ["minor"], | ||
"semanticCommitType": "feat", | ||
"semanticCommitScope": "github-release" | ||
}, | ||
{ | ||
"matchDatasources": ["github-releases", "github-tags"], | ||
"matchUpdateTypes": ["patch"], | ||
"semanticCommitType": "fix", | ||
"semanticCommitScope": "github-release" | ||
}, | ||
{ | ||
"matchManagers": ["github-actions"], | ||
"matchUpdateTypes": ["major"], | ||
"commitMessagePrefix": "feat(github-action)!: " | ||
}, | ||
{ | ||
"matchManagers": ["github-actions"], | ||
"matchUpdateTypes": ["minor"], | ||
"semanticCommitType": "feat", | ||
"semanticCommitScope": "github-action" | ||
}, | ||
{ | ||
"matchManagers": ["github-actions"], | ||
"matchUpdateTypes": ["patch"], | ||
"semanticCommitType": "fix", | ||
"semanticCommitScope": "github-action" | ||
}, | ||
// labels | ||
{ | ||
"matchUpdateTypes": ["major"], | ||
"labels": ["type/major"] | ||
}, | ||
{ | ||
"matchUpdateTypes": ["minor"], | ||
"labels": ["type/minor"] | ||
}, | ||
{ | ||
"matchUpdateTypes": ["patch"], | ||
"labels": ["type/patch"] | ||
}, | ||
{ | ||
"matchDatasources": ["github-releases", "github-tags"], | ||
"addLabels": ["renovate/github-release"] | ||
}, | ||
{ | ||
"matchManagers": ["github-actions"], | ||
"addLabels": ["renovate/github-action"] | ||
} | ||
], | ||
// custom managers | ||
"customManagers": [ | ||
{ | ||
"customType": "regex", | ||
"description": ["Keep pre-commit up-to-date"], | ||
"fileMatch": [ | ||
"(^|/)\\.pre-commit-config\\.ya?ml$" | ||
"(^|/)template\\/\\.pre-commit-config\\.ya?ml(?:\\.jinja)$" | ||
], | ||
"commitMessageTopic": "pre-commit hook {{depName}}", | ||
"prBodyNotes": [ | ||
"Note: The `pre-commit` manager in Renovate is not supported by the `pre-commit` maintainers or community. | ||
Please do not report any problems there, instead [create a Discussion in the Renovate repository](https://github.com/renovatebot/renovate/discussions/new) if you have any questions." | ||
], | ||
"automerge": true, | ||
"automergeType": "branch", | ||
"ignoreTests": true, | ||
"matchUpdateTypes": ["patch"] | ||
} | ||
] | ||
} |