From db2b21610df7d62ac8ddbc72ff5cb9356a352a1e Mon Sep 17 00:00:00 2001 From: ac892247 Date: Fri, 10 Apr 2026 13:27:41 +0200 Subject: [PATCH 1/6] enable debug Signed-off-by: ac892247 --- .github/workflows/renovate-bot.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/renovate-bot.yml b/.github/workflows/renovate-bot.yml index 58d4e1db1c..b3fb1c88ad 100644 --- a/.github/workflows/renovate-bot.yml +++ b/.github/workflows/renovate-bot.yml @@ -23,6 +23,6 @@ jobs: RENOVATE_TOKEN: ${{ secrets.ROBOT_PAT }} RENOVATE_CONFIG_FILE: ${{ github.workspace }}/renovate-config.js RENOVATE_GIT_AUTHOR: "Renovate Bot " - LOG_LEVEL: error + LOG_LEVEL: debug run: | renovate From ab8b9b88df69e53ed67628094c1e175ddaa62d09 Mon Sep 17 00:00:00 2001 From: ac892247 Date: Fri, 10 Apr 2026 14:01:56 +0200 Subject: [PATCH 2/6] use renovate action Signed-off-by: ac892247 --- .github/workflows/renovate-bot.yml | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/.github/workflows/renovate-bot.yml b/.github/workflows/renovate-bot.yml index b3fb1c88ad..b2da4008ff 100644 --- a/.github/workflows/renovate-bot.yml +++ b/.github/workflows/renovate-bot.yml @@ -9,20 +9,15 @@ jobs: renovate: runs-on: ubuntu-latest - container: - image: ghcr.io/renovatebot/renovate - options: --user root # workaround for checkout - steps: - name: Check out repository uses: actions/checkout@v4 # using checkout to access workspace - name: Run Renovate + uses: renovatebot/github-action@v46.1.8 + with: + configurationFile: ${{ github.workspace }}/renovate-config.js + token: ${{ secrets.ROBOT_PAT }} env: # RENOVATE_TOKEN should have access :read_user, api, write_repository (repo checkbox) - RENOVATE_TOKEN: ${{ secrets.ROBOT_PAT }} - RENOVATE_CONFIG_FILE: ${{ github.workspace }}/renovate-config.js - RENOVATE_GIT_AUTHOR: "Renovate Bot " LOG_LEVEL: debug - run: | - renovate From 8e18fc23ded45a8674240536833982e1b6e5d31b Mon Sep 17 00:00:00 2001 From: ac892247 Date: Mon, 13 Apr 2026 10:14:36 +0200 Subject: [PATCH 3/6] temporary run renovate on different branch Signed-off-by: ac892247 --- renovate-config.js | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/renovate-config.js b/renovate-config.js index bd679b47c0..39d9264b46 100644 --- a/renovate-config.js +++ b/renovate-config.js @@ -1,15 +1,16 @@ module.exports = { + binarySource: "install", globalExtends: ["config:recommended"], // using this instead of "extends" solves the problem with order of the configuration repositories: ['zowe/api-layer'], - baseBranches: ["v2.x.x", "v3.x.x"], + baseBranches: ["reboot/node_update", "v3.x.x"], commitBody: "Signed-off-by: {{{gitAuthor}}}", dependencyDashboard: true, allowedPostUpgradeCommands: ['^npm install'], packageRules: [ { - //for v2.x.x branch ignore grouping from extends preset, find all packages which are patches, + //for reboot/node_update branch ignore grouping from extends preset, find all packages which are patches, // slug them and make PR with name "all patch dependencies" - "matchBaseBranches": ["v2.x.x"], + "matchBaseBranches": ["reboot/node_update"], "groupName": "all patch dependencies", "groupSlug": "all-patch", "matchPackageNames": ["*"], @@ -21,8 +22,8 @@ module.exports = { } }, { - //for v2.x.x make dashboard approval to all major and minor dependencies updates - "matchBaseBranches": ["v2.x.x"], + //for reboot/node_update make dashboard approval to all major and minor dependencies updates + "matchBaseBranches": ["reboot/node_update"], "matchUpdateTypes": ["major", "minor"], "dependencyDashboardApproval": true, }, From 135d261eac0251039a809c2b8973129c296248c3 Mon Sep 17 00:00:00 2001 From: ac892247 Date: Tue, 14 Apr 2026 08:27:41 +0200 Subject: [PATCH 4/6] revert branch Signed-off-by: ac892247 --- renovate-config.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/renovate-config.js b/renovate-config.js index 39d9264b46..ff9ff08fc6 100644 --- a/renovate-config.js +++ b/renovate-config.js @@ -2,15 +2,15 @@ module.exports = { binarySource: "install", globalExtends: ["config:recommended"], // using this instead of "extends" solves the problem with order of the configuration repositories: ['zowe/api-layer'], - baseBranches: ["reboot/node_update", "v3.x.x"], + baseBranches: ["v2.x.x", "v3.x.x"], commitBody: "Signed-off-by: {{{gitAuthor}}}", dependencyDashboard: true, allowedPostUpgradeCommands: ['^npm install'], packageRules: [ { - //for reboot/node_update branch ignore grouping from extends preset, find all packages which are patches, + //for v2.x.x branch ignore grouping from extends preset, find all packages which are patches, // slug them and make PR with name "all patch dependencies" - "matchBaseBranches": ["reboot/node_update"], + "matchBaseBranches": ["v2.x.x"], "groupName": "all patch dependencies", "groupSlug": "all-patch", "matchPackageNames": ["*"], @@ -22,8 +22,8 @@ module.exports = { } }, { - //for reboot/node_update make dashboard approval to all major and minor dependencies updates - "matchBaseBranches": ["reboot/node_update"], + //for v2.x.x make dashboard approval to all major and minor dependencies updates + "matchBaseBranches": ["v2.x.x"], "matchUpdateTypes": ["major", "minor"], "dependencyDashboardApproval": true, }, From 11cd2105ea8124897a17d3f7f9936f53fe0aedec Mon Sep 17 00:00:00 2001 From: ac892247 Date: Tue, 14 Apr 2026 08:55:51 +0200 Subject: [PATCH 5/6] allow to specify log level Signed-off-by: ac892247 --- .github/workflows/renovate-bot.yml | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/.github/workflows/renovate-bot.yml b/.github/workflows/renovate-bot.yml index b2da4008ff..0794ca3643 100644 --- a/.github/workflows/renovate-bot.yml +++ b/.github/workflows/renovate-bot.yml @@ -4,6 +4,16 @@ on: schedule: - cron: '0 0 * * 1-5' #UTC workflow_dispatch: + inputs: + log_level: + description: Renovate LOG_LEVEL (see https://docs.renovatebot.com/troubleshooting/#log-levels) + required: false + default: info + type: choice + options: + - trace + - debug + - info jobs: renovate: @@ -19,5 +29,4 @@ jobs: configurationFile: ${{ github.workspace }}/renovate-config.js token: ${{ secrets.ROBOT_PAT }} env: - # RENOVATE_TOKEN should have access :read_user, api, write_repository (repo checkbox) - LOG_LEVEL: debug + LOG_LEVEL: ${{ github.event_name == 'workflow_dispatch' && inputs.log_level || 'info' }} From 7891795d9a371e63fe65923b360e4f8488868601 Mon Sep 17 00:00:00 2001 From: ac892247 Date: Tue, 14 Apr 2026 09:12:28 +0200 Subject: [PATCH 6/6] signoff Signed-off-by: ac892247 --- .github/workflows/renovate-bot.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/renovate-bot.yml b/.github/workflows/renovate-bot.yml index 0794ca3643..8beb160776 100644 --- a/.github/workflows/renovate-bot.yml +++ b/.github/workflows/renovate-bot.yml @@ -29,4 +29,5 @@ jobs: configurationFile: ${{ github.workspace }}/renovate-config.js token: ${{ secrets.ROBOT_PAT }} env: + RENOVATE_GIT_AUTHOR: "Renovate Bot " LOG_LEVEL: ${{ github.event_name == 'workflow_dispatch' && inputs.log_level || 'info' }}