From fafac540a7d02e00c50ccac4fccb277a648239b5 Mon Sep 17 00:00:00 2001
From: Paul Abel
Date: Thu, 9 Oct 2025 15:15:59 +0100
Subject: [PATCH 1/2] Correct space in github actions, update renovate syntax
---
.github/workflows/ci.yml | 8 ++++----
.github/workflows/regression.yml | 4 ++--
renovate.json | 12 ++++++------
3 files changed, 12 insertions(+), 12 deletions(-)
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index aee741429b..6cdad030a3 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -129,7 +129,7 @@ jobs:
- name: Authenticate to Google Cloud
id: auth
- uses: google-github-actions/auth@fc2174804b84f912b1f6d334e9463f484f1c552d # v3.0.0
+ uses: google-github-actions/auth@7c6bc770dae815cd3e89ee6cdf493a5fab2cc093 # v3.0.0
with:
token_format: access_token
workload_identity_provider: ${{ secrets.GCR_WORKLOAD_IDENTITY }}
@@ -360,7 +360,7 @@ jobs:
- name: Authenticate to Google Cloud
id: auth
- uses: google-github-actions/auth@fc2174804b84f912b1f6d334e9463f484f1c552d # v3.0.0
+ uses: google-github-actions/auth@7c6bc770dae815cd3e89ee6cdf493a5fab2cc093 # v3.0.0
with:
token_format: access_token
workload_identity_provider: ${{ secrets.GCR_WORKLOAD_IDENTITY }}
@@ -430,7 +430,7 @@ jobs:
- name: Authenticate to Google Cloud
id: auth
- uses: google-github-actions/auth@fc2174804b84f912b1f6d334e9463f484f1c552d # v3.0.0
+ uses: google-github-actions/auth@7c6bc770dae815cd3e89ee6cdf493a5fab2cc093 # v3.0.0
with:
token_format: access_token
workload_identity_provider: ${{ secrets.GCR_WORKLOAD_IDENTITY }}
@@ -570,7 +570,7 @@ jobs:
- name: Authenticate to Google Cloud
id: auth
- uses: google-github-actions/auth@fc2174804b84f912b1f6d334e9463f484f1c552d # v3.0.0
+ uses: google-github-actions/auth@7c6bc770dae815cd3e89ee6cdf493a5fab2cc093 # v3.0.0
with:
token_format: access_token
workload_identity_provider: ${{ secrets.GCR_WORKLOAD_IDENTITY }}
diff --git a/.github/workflows/regression.yml b/.github/workflows/regression.yml
index 5b8961df44..02a94aa023 100644
--- a/.github/workflows/regression.yml
+++ b/.github/workflows/regression.yml
@@ -141,7 +141,7 @@ jobs:
- name: Authenticate to Google Cloud
id: auth
- uses: google-github-actions/auth@fc2174804b84f912b1f6d334e9463f484f1c552d # v3.0.0
+ uses: google-github-actions/auth@7c6bc770dae815cd3e89ee6cdf493a5fab2cc093 # v3.0.0
with:
token_format: access_token
workload_identity_provider: ${{ secrets.GCR_WORKLOAD_IDENTITY }}
@@ -249,7 +249,7 @@ jobs:
- name: Authenticate to Google Cloud
id: auth
- uses: google-github-actions/auth@fc2174804b84f912b1f6d334e9463f484f1c552d # v3.0.0
+ uses: google-github-actions/auth@7c6bc770dae815cd3e89ee6cdf493a5fab2cc093 # v3.0.0
with:
token_format: access_token
workload_identity_provider: ${{ secrets.GCR_WORKLOAD_IDENTITY }}
diff --git a/renovate.json b/renovate.json
index e1047bdf69..44c0d811d6 100644
--- a/renovate.json
+++ b/renovate.json
@@ -123,8 +123,8 @@
"customType": "regex",
"description": "Update _VERSION variables in Dockerfiles",
"managerFilePatterns": [
- "(^|/|\\.)Dockerfile$",
- "(^|/)Dockerfile\\.[^/]*$"
+ "/(^|/|\\.)Dockerfile$/",
+ "/(^|/)Dockerfile\\.[^/]*/$"
],
"matchStrings": [
"# renovate: datasource=(?[a-z-]+?) depName=(?.+?)(?: (?:packageName|lookupName)=(?.+?))?(?: versioning=(?[a-z-]+?))?\\s(?:ENV|ARG) .+?_VERSION=(?.+?)\\s"
@@ -135,7 +135,7 @@
"datasourceTemplate": "github-tags",
"description": "Update Github Action references in the Markdown files",
"managerFilePatterns": [
- "\\.md$"
+ "/\\.md$/"
],
"matchStrings": [
"\\suses: (?[\\w-]+/[\\w-]+)(?/.*)?@(?v\\d+\\.\\d+\\.\\d+)",
@@ -147,7 +147,7 @@
"customType": "regex",
"description": "Update `version:` and `_VERSION:` variables in github workflows",
"managerFilePatterns": [
- "^\\.github\\/workflows\\/\\w+\\.ya?ml$"
+ "/^\\.github\\/workflows\\/\\w+\\.ya?ml$/"
],
"matchStrings": [
"\\s+(?:[[:word:]]-)?version: (?.+?) # renovate: datasource=(?.+?) depName=(?.+?)(?: (?:packageName|lookupName)=(?.+?))?(?: versioning=(?.+?))?\\s",
@@ -158,7 +158,7 @@
"customType": "regex",
"description": "Update `Version:` in go files",
"managerFilePatterns": [
- "\\.go$"
+ "/\\.go$/"
],
"matchStrings": [
"// renovate: datasource=(?[a-z-]+?) depName=(?.+?)(?: registryUrl=(?.+?))?(?: (?:packageName|lookupName)=(?.+?))?(?: versioning=(?[a-z-]+?))?\\s.+?Version :?= \"(?.+?)\"\\s"
@@ -171,7 +171,7 @@
"datasourceTemplate": "github-tags",
"depNameTemplate": "{{#if depName}}{{#if (containsString depName \"hashicorp/\")}}{{{replace \"hashicorp/\" \"hashicorp/packer-plugin-\" depName}}}{{else}}{{{depName}}}{{/if}}{{else}}hashicorp/packer{{/if}}",
"managerFilePatterns": [
- "\\.pkr\\.hcl"
+ "/\\.pkr\\.hcl$/"
],
"matchStrings": [
"required_version[\\s]+=[\\s]+\"=?(?\\S*)\"",
From 5ea4b21e7926f4f9bb1139897eb6d6c92280f55a Mon Sep 17 00:00:00 2001
From: Paul Abel
Date: Thu, 9 Oct 2025 16:20:52 +0100
Subject: [PATCH 2/2] Run code gen commands on go updates
---
renovate.json | 13 +++++++++++++
1 file changed, 13 insertions(+)
diff --git a/renovate.json b/renovate.json
index 44c0d811d6..b23fd5441d 100644
--- a/renovate.json
+++ b/renovate.json
@@ -232,6 +232,19 @@
"yarnDedupeHighest",
"npmDedupe"
],
+ "postUpgradeTasks": {
+ "commands": [
+ "make update-crds",
+ "make update-codegen",
+ "make test-update-snaps"
+ ],
+ "fileFilters": [
+ "**/*.go",
+ "**/go.mod",
+ "**/go.sum"
+ ],
+ "executionMode": "branch"
+ },
"pre-commit": {
"enabled": true
},