Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: Configure Renovate (old) #9

Merged
merged 5 commits into from
Sep 24, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
147 changes: 147 additions & 0 deletions .github/renovate.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,147 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"dependencyDashboard": true,
"extends": [
"config:best-practices",
"group:githubArtifactActions",
":separatePatchReleases",
":enablePreCommit"
],
"ignoreDeps": [
"tektronix/python-package-ci-cd"
],
"packageRules": [
{
"additionalBranchPrefix": "{{#if (equals manager 'github-actions')}}gh-actions{{else}}{{categories}}{{/if}}-deps/",
"description": "Set the branch prefix and minimum release age for all updates",
"matchPackageNames": [
"*"
],
"minimumReleaseAge": "5 days"
},
{
"addLabels": [
"docker",
"dependencies"
],
"commitMessageSuffix": " in all dependant actions",
"description": "Add docker and dependencies labels to Docker dependency updates",
"matchManagers": [
"dockerfile"
],
"semanticCommitScope": "docker-deps"
},
{
"addLabels": [
"gh-actions",
"dependencies"
],
"description": "Add gh-actions and dependencies labels to GitHub Action dependency updates",
"matchManagers": [
"github-actions"
],
"semanticCommitScope": "gh-actions-deps"
},
{
"addLabels": [
"python",
"dependencies"
],
"description": "Add python and dependencies labels to Python dependency updates",
"matchManagers": [
"poetry",
"pip_requirements"
],
"semanticCommitScope": "python-deps"
},
{
"addLabels": [
"pre-commit",
"dependencies"
],
"additionalBranchPrefix": "automerge/",
"automerge": true,
"description": "Add pre-commit and dependencies labels to pre-commit dependency updates",
"matchManagers": [
"pre-commit"
],
"semanticCommitScope": "pre-commit-deps"
},
{
"commitMessageSuffix": " in all dependant reusable workflows",
"description": "Add commit suffix for reusable workflows",
"matchFileNames": [
"/_reusable-.*\\.ya?ml/"
],
"matchManagers": [
"github-actions"
]
},
{
"commitMessageSuffix": "{{#unless isGroup}} in dev workflows{{/unless}}",
"description": "Group together all dev workflow dependency updates",
"groupName": "dev workflow dependencies",
"matchFileNames": [
"!/_reusable-.*\\.ya?ml/"
],
"matchManagers": [
"github-actions"
]
},
{
"additionalBranchPrefix": "automerge/",
"automerge": true,
"description": "Automatically merge all patch and digest updates",
"matchUpdateTypes": [
"digest",
"patch"
]
},
{
"additionalBranchPrefix": "automerge/",
"automerge": true,
"description": "Allow automatically merging minor updates of certain packages",
"matchPackageNames": [
"certifi",
"trove-classifiers",
"idna"
],
"matchUpdateTypes": [
"minor"
]
},
{
"description": "Group together all pydantic dependencies",
"groupName": "pydantic dependencies",
"matchPackageNames": [
"/^pydantic/"
]
},
{
"additionalBranchPrefix": "{{#if (equals manager 'github-actions')}}gh-actions{{else}}{{categories}}{{/if}}-deps/",
"automerge": false,
"description": "Group together all python-semantic-release dependencies",
"groupName": "python-semantic-release dependencies",
"matchPackageNames": [
"/^python-semantic-release/"
]
},
{
"commitMessageSuffix": "{{#if (equals parentDir '')}} for {{#each depTypes}}{{replace '-' '/' this}}{{#unless @last}} and {{/unless}}{{/each}}{{else}} in all dependant actions {{/if}}",
"description": "Add commit suffix for the dependency group (or parent directory)",
"matchFileNames": [
"pyproject.toml",
"**/requirements.txt"
],
"matchManagers": [
"poetry",
"pip_requirements"
],
"matchPackageNames": [
"*"
]
}
],
"platformCommit": "enabled",
"prHourlyLimit": 5
}