From 3de9be584f1d4e9e9e9be5ab22a7dbd64f1a1c1a Mon Sep 17 00:00:00 2001 From: Frank Scholter Peres Date: Thu, 22 Oct 2026 14:48:46 +0000 Subject: [PATCH 1/2] fix(renovate): re-sync tools/README.md in postUpgradeTasks The tool-documentation pre-commit hook regenerates the generated tool table in tools/README.md from the lockfiles. When a lockfile version is bumped the README becomes stale, so the hook modifies the file and pre-commit fails the CI run (see PR #174). Add sync_readme.py to the post-upgrade tasks (and to the allowed command list) so the regenerated README is part of the Renovate PR. --- .github/renovate.json5 | 3 ++- .github/workflows/daily.yml | 9 +++++---- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/.github/renovate.json5 b/.github/renovate.json5 index 650bff24..89de1b3c 100644 --- a/.github/renovate.json5 +++ b/.github/renovate.json5 @@ -34,7 +34,8 @@ "automerge": false, "postUpgradeTasks": { "commands": [ - "tools/internal/refresh_lockfile_digests.py" + "tools/internal/refresh_lockfile_digests.py", + "tools/internal/sync_readme.py" ], "fileFilters": ["**/*"], "executionMode": "update" diff --git a/.github/workflows/daily.yml b/.github/workflows/daily.yml index ee945f3a..ff3e571b 100644 --- a/.github/workflows/daily.yml +++ b/.github/workflows/daily.yml @@ -48,10 +48,11 @@ jobs: configurationFile: .github/renovate.json5 env: LOG_LEVEL: debug - # Allow the post-upgrade task that refreshes lockfile URLs and sha256 - # digests (allowedCommands is a global-only option, so it must be set - # here rather than in renovate.json5). - RENOVATE_ALLOWED_COMMANDS: '["tools/internal/refresh_lockfile_digests.py"]' + # Allow the post-upgrade tasks that refresh lockfile URLs and sha256 + # digests and re-sync the generated tool table in tools/README.md + # (allowedCommands is a global-only option, so it must be set here + # rather than in renovate.json5). + RENOVATE_ALLOWED_COMMANDS: '["tools/internal/refresh_lockfile_digests.py", "tools/internal/sync_readme.py"]' validate-renovate-config: name: Validate Renovate config runs-on: ubuntu-latest From 4b7801d3a152669f5b1450deec979f4f9a7159f1 Mon Sep 17 00:00:00 2001 From: Frank Scholter Peres Date: Thu, 22 Oct 2026 14:59:53 +0000 Subject: [PATCH 2/2] chore: make sync_readme.py executable --- tools/internal/sync_readme.py | 1 + 1 file changed, 1 insertion(+) mode change 100644 => 100755 tools/internal/sync_readme.py diff --git a/tools/internal/sync_readme.py b/tools/internal/sync_readme.py old mode 100644 new mode 100755 index e98f6813..13854743 --- a/tools/internal/sync_readme.py +++ b/tools/internal/sync_readme.py @@ -1,3 +1,4 @@ +#!/usr/bin/env python3 # ******************************************************************************* # Copyright (c) 2026 Contributors to the Eclipse Foundation #