Skip to content

Commit 90fdb34

Browse files
authored
chore: Revert example_matrix.yml changes and update renovate regexes (#860)
## Summary Revert unnecessary changes from PR #859 and fix renovate custom manager regexes to match the new `matrix.include` format in `example.yml`. ## Test plan - [x] Verified renovate regexes match current file contents - [x] Verified `npm run build` produces clean dist
1 parent a74f3dc commit 90fdb34

File tree

2 files changed

+5
-7
lines changed

2 files changed

+5
-7
lines changed

.github/renovate.json5

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,23 +29,23 @@
2929
extractVersionTemplate: "^cli-(?<version>.+)$",
3030
},
3131
{
32-
// CLI version without v prefix in example.yml matrix (first value: "6.8.0")
32+
// CLI version without v prefix in example.yml (label: without-v-prefix)
3333
customType: "regex",
3434
fileMatch: ["^\\.github/workflows/example\\.yml$"],
3535
matchStrings: [
36-
"cloudquery-version\\:\\s+\\[\"(?<currentValue>[^\"]+)\"",
36+
"without-v-prefix[\\s\\S]*?cloudquery-version\\:\\s+\"(?<currentValue>[^\"]+)\"",
3737
],
3838
packageNameTemplate: "cloudquery/cloudquery",
3939
depNameTemplate: "cli-no-v",
4040
datasourceTemplate: "github-releases",
4141
extractVersionTemplate: "^cli-v(?<version>.+)$",
4242
},
4343
{
44-
// CLI version with v prefix in example.yml matrix (second value: "v6.8.0")
44+
// CLI version with v prefix in example.yml (label: with-v-prefix)
4545
customType: "regex",
4646
fileMatch: ["^\\.github/workflows/example\\.yml$"],
4747
matchStrings: [
48-
"cloudquery-version\\:\\s+\\[\"[^\"]+\",\\s*\"(?<currentValue>[^\"]+)\"",
48+
"with-v-prefix[\\s\\S]*?cloudquery-version\\:\\s+\"(?<currentValue>[^\"]+)\"",
4949
],
5050
packageNameTemplate: "cloudquery/cloudquery",
5151
depNameTemplate: "cli",

.github/workflows/example_matrix.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,6 @@ on:
77
types: [opened, synchronize, reopened]
88
permissions:
99
contents: read
10-
env:
11-
CLOUDQUERY_VERSION: "v6.35.2"
1210
jobs:
1311
cloudquery:
1412
permissions:
@@ -43,7 +41,7 @@ jobs:
4341
- name: Setup CloudQuery
4442
uses: ./.
4543
with:
46-
version: ${{ env.CLOUDQUERY_VERSION }}
44+
version: "v6.35.2"
4745
- name: Sync with CloudQuery
4846
run: cloudquery sync example_configs/spec.yml --log-console --shard ${{ matrix.shard }}
4947
env:

0 commit comments

Comments
 (0)