ci(renovate): regenerate apm.lock.yaml in Renovate branches #497
Notifications
Due Date
No due date set.
Blocks
Depends on
Reference: Mortis/Kamino#497
Reference in new issue
Block a user
Part of #194
Problem
A regex-manager bump changes only the
ref:line inapm.yml.apm.lock.yamlstill records the old resolved ref and commit, so the bot PR leaves the manifest and the lock disagreeing. Renovate can run a post-upgrade command, but the self-hosted job does not allow any commands, and apm is probably not in therenovate/renovate:*-fullimage (not verified).This is a workflow change, so it is human-authored (the bot is disabled for the Renovate workflow file, and workflow edits follow the workflows' own AGENTS.md).
Out of scope: committed
.claude/paths. Once #194 commits deployed files,fileFiltersand the gate both widen.Proposal
requirements-dev.lockpins forapm-cli, never unpinned. Use either an install step pinned to that lock or a custom image underimages/(a new kind of thing, so read the ADRs and SECURITY.md first). Record the choice on this issue.RENOVATE_ALLOWED_COMMANDS='["^apm install$"]'on the Renovate step. Leave the shell executor off.postUpgradeTaskswith the commandapm install,fileFiltersset to the lock only, andexecutionMode: branch.executables.allow: check whether apm needs an entry forapm installin the bot job.Acceptance criteria
apm --versionin the Renovate job prints the version pinned inrequirements-dev.lock. Check: the job log.RENOVATE_ALLOWED_COMMANDSadmits exactlyapm install. Check: read the workflow.apm.lock.yamlresolved ref and resolved commit match the new tag, and whose only other changed file isapm.yml. Check: the branch diff, or the debug log of a dry run.executables.allowwas needed.