Skip to content

Commit

Permalink
Merge pull request #5119 from phisco/dev/renovate-e2es
Browse files Browse the repository at this point in the history
renovate: configure to automatically bump e2e dependencies
  • Loading branch information
phisco committed Dec 15, 2023
2 parents e3a6a12 + 3d7ef5e commit d903466
Showing 1 changed file with 13 additions and 2 deletions.
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

0 comments on commit d903466

Please sign in to comment.