fix(renovate): run the image bump task on every branch
The postUpgradeTasks lived in a packageRule matching package "*". Branch renovate/pip-compile-refresh (a lock regeneration, no package upgrade) did not get the task, so its requirements-dev.lock change reached the lint check without the ci image version bump and failed `check_image_versions.py bump`. A top-level postUpgradeTasks applies to every branch. Co-Authored-By: Claude Sonnet 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_014uGZTNmHMc85bomfevwUDG
This commit is contained in:
1 parent
d774760d2a
commit
bbb4f1f888
2 files changed
+15
-20
No files matched your search
@@ -17,8 +17,9 @@ order; an entry that cannot be parsed unambiguously is an error); comments, quot
|
||||
the rest of the file are kept. Untracked files count as inputs unless git ignores them, so a cache
|
||||
under images/ must be in .gitignore.
|
||||
|
||||
It runs as a Renovate `postUpgradeTasks` command: renovate.json sets it on a catch-all
|
||||
packageRule (matches every package, executionMode branch, fileFilters limited to .gitea/workflows/image.yml),
|
||||
It runs as a Renovate `postUpgradeTasks` command: renovate.json sets it at the top level
|
||||
(so it runs on every branch, a lock refresh with no package included), with executionMode branch and fileFilters limited to
|
||||
.gitea/workflows/image.yml,
|
||||
allowed by RENOVATE_ALLOWED_COMMANDS of .gitea/workflows/renovate.yml. It is a no-op when no image
|
||||
input changed, so a dependency bump that changes an image input carries its version bump and
|
||||
passes the `bump` check without a human edit.
|
||||
|
||||
Reference in new issue
Block a user