From d59f3c495825e93ef87ed904e960b53408cde040 Mon Sep 17 00:00:00 2001 From: kiblik <5609770+kiblik@users.noreply.github.com> Date: Sun, 12 Oct 2025 19:41:15 +0200 Subject: [PATCH 1/2] feat(renovate): Add validator --- .github/workflows/renovate.yaml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .github/workflows/renovate.yaml diff --git a/.github/workflows/renovate.yaml b/.github/workflows/renovate.yaml new file mode 100644 index 00000000000..918a4ffdffa --- /dev/null +++ b/.github/workflows/renovate.yaml @@ -0,0 +1,23 @@ +name: "Renovate validation" +on: + workflow_dispatch: + pull_request: + branches: + - dev + - master + - bugfix + - release/* + +jobs: + main: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 + with: + persist-credentials: false + + - name: validate + uses: suzuki-shunsuke/github-action-renovate-config-validator@c22827f47f4f4a5364bdba19e1fe36907ef1318e # v1.1.1 + with: + strict: "true" \ No newline at end of file From 11683bba74ae9128f403ae5d661a6f08efad48f6 Mon Sep 17 00:00:00 2001 From: kiblik <5609770+kiblik@users.noreply.github.com> Date: Sun, 12 Oct 2025 19:47:03 +0200 Subject: [PATCH 2/2] fix config --- .github/renovate.json | 18 +++++++++++++----- .github/workflows/renovate.yaml | 3 ++- 2 files changed, 15 insertions(+), 6 deletions(-) diff --git a/.github/renovate.json b/.github/renovate.json index ad75c1a2b51..9bc6c71a0c5 100644 --- a/.github/renovate.json +++ b/.github/renovate.json @@ -1,17 +1,25 @@ { "extends": [ - "config:base" + "config:recommended" ], "dependencyDashboard": true, "dependencyDashboardApproval": false, - "baseBranches": ["dev"], + "baseBranchPatterns": ["dev"], "rebaseWhen": "conflicted", "separateMinorPatch": true, - "ignorePaths": ["requirements.txt", "requirements-lint.txt", "components/package.json", "components/package-lock.json", "dojo/components/yarn.lock", "dojo/components/package.json", "Dockerfile**"], + "ignorePaths": [ + "requirements.txt", + "requirements-lint.txt", + "components/package.json", + "components/package-lock.json", + "dojo/components/yarn.lock", + "dojo/components/package.json", + "Dockerfile**" + ], "ignoreDeps": [], "packageRules": [{ - "packagePatterns": ["*"], - "commitMessageExtra": "from {{currentVersion}} to {{#if isMajor}}v{{{newMajor}}}{{else}}{{#if isSingleVersion}}v{{{toVersion}}}{{else}}{{{newValue}}}{{/if}}{{/if}}", + "matchPackageNames": ["*"], + "commitMessageExtra": "from {{currentVersion}} to {{#if isMajor}}v{{{newMajor}}}{{else}}{{#if isSingleVersion}}v{{{newVersion}}}{{else}}{{{newValue}}}{{/if}}{{/if}}", "commitMessageSuffix": "({{packageFile}})", "labels": ["dependencies"] }], diff --git a/.github/workflows/renovate.yaml b/.github/workflows/renovate.yaml index 918a4ffdffa..d8758132817 100644 --- a/.github/workflows/renovate.yaml +++ b/.github/workflows/renovate.yaml @@ -20,4 +20,5 @@ jobs: - name: validate uses: suzuki-shunsuke/github-action-renovate-config-validator@c22827f47f4f4a5364bdba19e1fe36907ef1318e # v1.1.1 with: - strict: "true" \ No newline at end of file + strict: "true" + validator_version: 41.146.0 # renovate: datasource=github-releases depName=renovatebot/renovate versioning=loose