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

renovate: configure to automatically bump e2e dependencies #5119

Merged
merged 2 commits into from
Dec 15, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
15 changes: 13 additions & 2 deletions .github/renovate.json5
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"config:base",
"config:recommended",
"helpers:pinGitHubActionDigests",
":semanticCommits"
],
Expand All @@ -17,8 +17,9 @@
"postUpdateOptions": ["gomodTidy"],
// All PRs should have a label
"labels": ["automated"],
"regexManagers": [
"customManagers": [
{
"customType": "regex",
"description": "Bump Go version used in workflows",
"fileMatch": ["^\\.github\\/workflows\\/[^/]+\\.ya?ml$"],
"matchStrings": [
Expand All @@ -27,6 +28,7 @@
"datasourceTemplate": "golang-version",
"depNameTemplate": "golang"
}, {
"customType": "regex",
"description": "Bump golangci-lint version in workflows and the Makefile",
"fileMatch": ["^\\.github\\/workflows\\/[^/]+\\.ya?ml$","^Makefile$"],
"matchStrings": [
Expand All @@ -37,6 +39,7 @@
"depNameTemplate": "golangci/golangci-lint",
"extractVersionTemplate": "^v(?<version>.*)$"
}, {
"customType": "regex",
"description": "Bump helm version in the Makefile",
"fileMatch": ["^Makefile$"],
"matchStrings": [
Expand All @@ -45,6 +48,7 @@
"datasourceTemplate": "github-tags",
"depNameTemplate": "helm/helm",
}, {
"customType": "regex",
"description": "Bump kind version in the Makefile",
"fileMatch": ["^Makefile$"],
"matchStrings": [
Expand All @@ -54,6 +58,9 @@
"depNameTemplate": "kubernetes-sigs/kind",
}
],
"crossplane": {
"fileMatch": ["(^|/)test/e2e/.*\\.ya?ml$"]
},
// PackageRules disabled below should be enabled in case of vulnerabilities
"vulnerabilityAlerts": {
"enabled": true
Expand All @@ -63,6 +70,10 @@
// be at the beginning, high priority at the end
"packageRules": [
{
"matchManagers": ["crossplane"],
"matchFileNames": ["test/e2e/**"],
"groupName": "e2e-manifests",
}, {
"description": "Ignore non-security related updates to release branches",
matchBaseBranches: [ "/^release-.*/"],
enabled: false,
Expand Down