Skip to content

Commit 3d8e047

Browse files
authored
fix: Renovate readme sync (#176)
Fix sync of readme for renovate updates Frank Scholter Peres <frank.scholter_peres@mercedes-benz.com>, Mercedes-Benz Tech Innovation GmbH [Provider Information](https://github.com/mercedes-benz/foss/blob/master/PROVIDER_INFORMATION.md)
1 parent 5fba50b commit 3d8e047

3 files changed

Lines changed: 8 additions & 5 deletions

File tree

‎.github/renovate.json5‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,8 @@
3434
"automerge": false,
3535
"postUpgradeTasks": {
3636
"commands": [
37-
"tools/internal/refresh_lockfile_digests.py"
37+
"tools/internal/refresh_lockfile_digests.py",
38+
"tools/internal/sync_readme.py"
3839
],
3940
"fileFilters": ["**/*"],
4041
"executionMode": "update"

‎.github/workflows/daily.yml‎

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,10 +48,11 @@ jobs:
4848
configurationFile: .github/renovate.json5
4949
env:
5050
LOG_LEVEL: debug
51-
# Allow the post-upgrade task that refreshes lockfile URLs and sha256
52-
# digests (allowedCommands is a global-only option, so it must be set
53-
# here rather than in renovate.json5).
54-
RENOVATE_ALLOWED_COMMANDS: '["tools/internal/refresh_lockfile_digests.py"]'
51+
# Allow the post-upgrade tasks that refresh lockfile URLs and sha256
52+
# digests and re-sync the generated tool table in tools/README.md
53+
# (allowedCommands is a global-only option, so it must be set here
54+
# rather than in renovate.json5).
55+
RENOVATE_ALLOWED_COMMANDS: '["tools/internal/refresh_lockfile_digests.py", "tools/internal/sync_readme.py"]'
5556
validate-renovate-config:
5657
name: Validate Renovate config
5758
runs-on: ubuntu-latest

‎tools/internal/sync_readme.py‎

100644100755
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
#!/usr/bin/env python3
12
# *******************************************************************************
23
# Copyright (c) 2026 Contributors to the Eclipse Foundation
34
#

0 commit comments

Comments
 (0)