From e5b40ea2020b3afb9c6e8f6788cdfca866517aee Mon Sep 17 00:00:00 2001 From: erezrokah Date: Wed, 25 Mar 2026 09:10:33 +0000 Subject: [PATCH 1/5] chore: configure release-please manifest mode and renovate CLI version managers --- .github/renovate.json5 | 50 ++++++++++++++++++++++++++++ .github/workflows/release-please.yml | 1 - .release-please-manifest.json | 3 ++ release-please-config.json | 15 +++++++++ 4 files changed, 68 insertions(+), 1 deletion(-) create mode 100644 .release-please-manifest.json create mode 100644 release-please-config.json diff --git a/.github/renovate.json5 b/.github/renovate.json5 index 58fdf625..b37eb038 100644 --- a/.github/renovate.json5 +++ b/.github/renovate.json5 @@ -3,4 +3,54 @@ "github>cloudquery/.github//.github/renovate-go-default.json5", "github>cloudquery/.github//.github/renovate-node-default.json5", ], + customManagers: [ + { + // CLI version in README.md code example + customType: "regex", + fileMatch: ["^README\\.md$"], + matchStrings: [ + "cloudquery/setup\\-cloudquery[\\s\\S]+?version\\:\\s+['\"]?(?[^'\"\\s]+)['\"]?", + ], + packageNameTemplate: "cloudquery/cloudquery", + depNameTemplate: "cli", + datasourceTemplate: "github-releases", + extractVersionTemplate: "^cli-(?.+)$", + }, + { + // CLI version in example_matrix.yml (uses: ./. with version: "v6.8.0") + customType: "regex", + fileMatch: ["^.github/workflows/example_matrix\\.yml$"], + matchStrings: [ + "version\\:\\s+[\"'](?[^\"']+)[\"']", + ], + packageNameTemplate: "cloudquery/cloudquery", + depNameTemplate: "cli", + datasourceTemplate: "github-releases", + extractVersionTemplate: "^cli-(?.+)$", + }, + { + // CLI version without v prefix in example.yml matrix (first value: "6.8.0") + customType: "regex", + fileMatch: ["^.github/workflows/example\\.yml$"], + matchStrings: [ + "cloudquery-version\\:\\s+\\[\"(?[^\"]+)\"", + ], + packageNameTemplate: "cloudquery/cloudquery", + depNameTemplate: "cli-no-v", + datasourceTemplate: "github-releases", + extractVersionTemplate: "^cli-v(?.+)$", + }, + { + // CLI version with v prefix in example.yml matrix (second value: "v6.8.0") + customType: "regex", + fileMatch: ["^.github/workflows/example\\.yml$"], + matchStrings: [ + "cloudquery-version\\:\\s+\\[\"[^\"]+\",\\s*\"(?[^\"]+)\"", + ], + packageNameTemplate: "cloudquery/cloudquery", + depNameTemplate: "cli", + datasourceTemplate: "github-releases", + extractVersionTemplate: "^cli-(?.+)$", + }, + ], } diff --git a/.github/workflows/release-please.yml b/.github/workflows/release-please.yml index 8d7f9fb0..1bb50830 100644 --- a/.github/workflows/release-please.yml +++ b/.github/workflows/release-please.yml @@ -14,4 +14,3 @@ jobs: - uses: GoogleCloudPlatform/release-please-action@v4 with: token: ${{ secrets.GH_CQ_BOT }} - release-type: node diff --git a/.release-please-manifest.json b/.release-please-manifest.json new file mode 100644 index 00000000..32dbe0e2 --- /dev/null +++ b/.release-please-manifest.json @@ -0,0 +1,3 @@ +{ + ".": "5.0.0" +} diff --git a/release-please-config.json b/release-please-config.json new file mode 100644 index 00000000..111cf277 --- /dev/null +++ b/release-please-config.json @@ -0,0 +1,15 @@ +{ + "$schema": "https://raw.githubusercontent.com/googleapis/release-please/main/schemas/config.json", + "packages": { + ".": { + "release-type": "node", + "extra-files": [ + { + "type": "generic", + "path": "README.md", + "glob": false + } + ] + } + } +} From 51fc807f64aa4d086b7163da5c1728d854a1303d Mon Sep 17 00:00:00 2001 From: erezrokah Date: Wed, 25 Mar 2026 09:29:54 +0000 Subject: [PATCH 2/5] chore: add x-release-please-version annotation to README --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 0a7438f9..40fdd12b 100644 --- a/README.md +++ b/README.md @@ -34,7 +34,7 @@ jobs: role-to-assume: aws-region: - - uses: cloudquery/setup-cloudquery@v3 + - uses: cloudquery/setup-cloudquery@v5.0.0 # x-release-please-version name: Setup CloudQuery with: # Required. Must be a valid SemVer version From a2c701c5fd715fe2957bb5a7476f14f23175e9a4 Mon Sep 17 00:00:00 2001 From: erezrokah Date: Wed, 25 Mar 2026 09:33:12 +0000 Subject: [PATCH 3/5] chore: add renovate manager for GitHub Actions in README --- .github/renovate.json5 | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.github/renovate.json5 b/.github/renovate.json5 index b37eb038..71cf5cdb 100644 --- a/.github/renovate.json5 +++ b/.github/renovate.json5 @@ -52,5 +52,15 @@ datasourceTemplate: "github-releases", extractVersionTemplate: "^cli-(?.+)$", }, + { + // GitHub Actions in README.md (e.g. actions/checkout@v4, aws-actions/configure-aws-credentials@v4) + // Excludes cloudquery/setup-cloudquery which is managed by release-please + customType: "regex", + fileMatch: ["^README\\.md$"], + matchStrings: [ + "uses:\\s+(?(?!cloudquery/setup-cloudquery)[\\w-]+/[\\w-]+)@(?[^\\s#]+)", + ], + datasourceTemplate: "github-tags", + }, ], } From c7f218f4b536b368b23675dd4318981ed3854dfb Mon Sep 17 00:00:00 2001 From: erezrokah Date: Wed, 25 Mar 2026 09:34:39 +0000 Subject: [PATCH 4/5] chore: use built-in github-actions manager for README instead of custom regex --- .github/renovate.json5 | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/.github/renovate.json5 b/.github/renovate.json5 index 71cf5cdb..b5931f47 100644 --- a/.github/renovate.json5 +++ b/.github/renovate.json5 @@ -52,15 +52,8 @@ datasourceTemplate: "github-releases", extractVersionTemplate: "^cli-(?.+)$", }, - { - // GitHub Actions in README.md (e.g. actions/checkout@v4, aws-actions/configure-aws-credentials@v4) - // Excludes cloudquery/setup-cloudquery which is managed by release-please - customType: "regex", - fileMatch: ["^README\\.md$"], - matchStrings: [ - "uses:\\s+(?(?!cloudquery/setup-cloudquery)[\\w-]+/[\\w-]+)@(?[^\\s#]+)", - ], - datasourceTemplate: "github-tags", - }, ], + "github-actions": { + fileMatch: ["^README\\.md$"], + }, } From 3480bf7fe6e3625619102af51ea880b1617b5465 Mon Sep 17 00:00:00 2001 From: erezrokah Date: Wed, 25 Mar 2026 09:37:31 +0000 Subject: [PATCH 5/5] chore: escape dots in fileMatch regex patterns --- .github/renovate.json5 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/renovate.json5 b/.github/renovate.json5 index b5931f47..4a3ace61 100644 --- a/.github/renovate.json5 +++ b/.github/renovate.json5 @@ -19,7 +19,7 @@ { // CLI version in example_matrix.yml (uses: ./. with version: "v6.8.0") customType: "regex", - fileMatch: ["^.github/workflows/example_matrix\\.yml$"], + fileMatch: ["^\\.github/workflows/example_matrix\\.yml$"], matchStrings: [ "version\\:\\s+[\"'](?[^\"']+)[\"']", ], @@ -31,7 +31,7 @@ { // CLI version without v prefix in example.yml matrix (first value: "6.8.0") customType: "regex", - fileMatch: ["^.github/workflows/example\\.yml$"], + fileMatch: ["^\\.github/workflows/example\\.yml$"], matchStrings: [ "cloudquery-version\\:\\s+\\[\"(?[^\"]+)\"", ], @@ -43,7 +43,7 @@ { // CLI version with v prefix in example.yml matrix (second value: "v6.8.0") customType: "regex", - fileMatch: ["^.github/workflows/example\\.yml$"], + fileMatch: ["^\\.github/workflows/example\\.yml$"], matchStrings: [ "cloudquery-version\\:\\s+\\[\"[^\"]+\",\\s*\"(?[^\"]+)\"", ],