Skip to content

Commit

Permalink
renovate: fix usage of dot in regexes
Browse files Browse the repository at this point in the history
Also trigger workflow on config change.

Signed-off-by: Mahe Tardy <[email protected]>
  • Loading branch information
mtardy committed Jul 24, 2023
1 parent e7779f7 commit 9e6f210
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 27 deletions.
54 changes: 27 additions & 27 deletions .github/renovate.json5
Original file line number Diff line number Diff line change
Expand Up @@ -25,17 +25,17 @@
],
"gitAuthor": "cilium-renovate[bot] <134692979+cilium-renovate[bot]@users.noreply.github.com>",
"includePaths": [
".github/renovate.json5",
".github/workflows/**",
"go.mod",
"go.sum",
"api/go.mod",
"api/go.sum",
"pkg/k8s/go.mod",
"pkg/k8s/go.sum",
"\\.github/renovate\\.json5",
"\\.github/workflows/**",
"go\\.mod",
"go\\.sum",
"api/go\\.mod",
"api/go\\.sum",
"pkg/k8s/go\\.mod",
"pkg/k8s/go\\.sum",
"Dockerfile*",
"install/kubernetes/values.yaml",
"Makefile.cli",
"install/kubernetes/values\\.yaml",
"Makefile\\.cli",
"Makefile",
],
"postUpdateOptions": [
Expand Down Expand Up @@ -67,7 +67,7 @@
"groupName": "all github action dependencies",
"groupSlug": "all-github-action",
"matchFileNames": [
".github/workflows/**"
"\\.github/workflows/**"
],
"matchManagers": [
"github-actions"
Expand All @@ -86,7 +86,7 @@
},
{
"matchFileNames": [
".github/workflows/**"
"\\.github/workflows/**"
],
"matchManagers": [
"github-actions"
Expand All @@ -96,8 +96,8 @@
{
// not grouping Go minor and major updates together
"matchFileNames": [
"go.mod",
"go.sum"
"go\\.mod",
"go\\.sum"
],
"postUpdateOptions": [
// update source import paths on major updates
Expand All @@ -120,8 +120,8 @@
"groupName": "all go dependencies main",
"groupSlug": "all-go-deps-main",
"matchFileNames": [
"go.mod",
"go.sum"
"go\\.mod",
"go\\.sum"
],
"postUpdateOptions": [
// update source import paths on major updates
Expand All @@ -147,8 +147,8 @@
"groupName": "all API go dependencies main",
"groupSlug": "all-api-go-deps-main",
"matchFileNames": [
"api/go.mod",
"api/go.sum"
"api/go\\.mod",
"api/go\\.sum"
],
"postUpdateOptions": [
// update source import paths on major updates
Expand All @@ -174,8 +174,8 @@
{
// not grouping major updates together
"matchFileNames": [
"pkg/k8s/go.mod",
"pkg/k8s/go.sum"
"pkg/k8s/go\\.mod",
"pkg/k8s/go\\.sum"
],
"postUpdateOptions": [
// update source import paths on major updates
Expand All @@ -197,8 +197,8 @@
"groupName": "all k8s pkg go dependencies main",
"groupSlug": "all-k8s-pkg-go-deps-main",
"matchFileNames": [
"pkg/k8s/go.mod",
"pkg/k8s/go.sum"
"pkg/k8s/go\\.mod",
"pkg/k8s/go\\.sum"
],
"postUpdateOptions": [
// update source import paths on major updates
Expand All @@ -222,7 +222,7 @@
},
{
"matchPackageNames": [
"docker.io/library/busybox"
"docker\\.io/library/busybox"
],
"matchFileNames": [
"Dockerfile"
Expand All @@ -239,7 +239,7 @@
"groupName": "Go",
"matchDepNames": [
"go",
"docker.io/library/golang"
"docker\\.io/library/golang"
],
// postUpgradeTasks is only for when the Go module directives are bumped
"postUpgradeTasks": {
Expand All @@ -263,7 +263,7 @@
},
{
"matchFileNames": [
"install/kubernetes/values.yaml",
"install/kubernetes/values\\.yaml",
],
// lint and generate files for helm chart
"postUpgradeTasks": {
Expand Down Expand Up @@ -291,8 +291,8 @@
"matchPackageNames": ["docker.io/library/ubuntu"],
"matchManagers": ["dockerfile"],
"matchFileNames": [
"Dockerfile.clang",
"Dockerfile.clang-format"
"Dockerfile\\.clang",
"Dockerfile\\.clang-format"
],
"enabled": false
}
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/renovate.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,11 @@ on:
renovate_log_level_debug:
type: boolean
default: false
push:
branches:
- main
paths:
- '.github/renovate.json5'

jobs:
renovate:
Expand Down

0 comments on commit 9e6f210

Please sign in to comment.