chore(renovate): update the apm pin in pyproject.toml and uv.lock
Build / build (pull_request) Successful in 49s
Molecule / select (pull_request) Successful in 2s
Lint / lint (pull_request) Successful in 4m48s
Molecule / Result (pull_request) Canceled after 0s
Molecule / scenarios (pull_request) Canceled after 16m17s

Enable the pep621 manager for the root pyproject.toml, which updates
uv.lock with it. apm-cli gets its own pull request without automerge: CI
never runs apm, so a green run says nothing about a new version. The
manager also reads requires-python, a floor for ruff rather than a pin,
so it is disabled, and lock file maintenance is off for uv.lock, whose
check refuses a change to any package but apm-cli.

Closes: #518

Assisted-by: Claude Code
This commit is contained in:
Defame1297 committed 2026-12-06 07:22:02 +00:00
1 parent 1e95d8cbdd
commit 2b0326801f
1 file changed
+37 -1
+37 -1
View File
@@ -1,6 +1,6 @@
{ {
"$schema": "https://docs.renovatebot.com/renovate-schema.json", "$schema": "https://docs.renovatebot.com/renovate-schema.json",
"description": "Run by .gitea/workflows/renovate.yml on this repository's own runner. Policy: automerge minor and patch, majors by hand. Every bot pull request must pass scripts/check_bot_pr_diff.py (lint workflow), which allows only version, tag, digest and pin lines. Image versions are assigned by the Images workflow when an image's inputs change, so a bot pull request needs no version edit. Updates open on Mondays (UTC), so any Monday run can act; the own image pins and vulnerability fixes found on osv.dev open at any time. The weekly window and the groups bound the volume, so there is no hourly pull request limit. Vulnerability fixes skip the release-age wait, so they are never automerged: a person checks a fix that had no time to be pulled as a compromised release. Base-image bumps are manual: every Dockerfile is FROM ubuntu, grouped with the job containers.", "description": "Run by .gitea/workflows/renovate.yml on this repository's own runner. Policy: automerge minor and patch, majors by hand. Every bot pull request must pass scripts/check_bot_pr_diff.py (lint workflow), which allows only version, tag, digest and pin lines, and in uv.lock only the apm-cli bump to the pin in pyproject.toml (scripts/check_uv_lock.py). Image versions are assigned by the Images workflow when an image's inputs change, so a bot pull request needs no version edit. Updates open on Mondays (UTC), so any Monday run can act; the own image pins and vulnerability fixes found on osv.dev open at any time. The weekly window and the groups bound the volume, so there is no hourly pull request limit. Vulnerability fixes skip the release-age wait, so they are never automerged: a person checks a fix that had no time to be pulled as a compromised release. Base-image bumps are manual: every Dockerfile is FROM ubuntu, grouped with the job containers.",
"extends": [ "extends": [
"config:recommended", "config:recommended",
":enablePreCommit" ":enablePreCommit"
@@ -11,6 +11,7 @@
"semanticCommitScope": "deps", "semanticCommitScope": "deps",
"enabledManagers": [ "enabledManagers": [
"pip-compile", "pip-compile",
"pep621",
"ansible-galaxy", "ansible-galaxy",
"pre-commit", "pre-commit",
"github-actions", "github-actions",
@@ -35,6 +36,11 @@
"/^requirements-molecule\\.lock$/" "/^requirements-molecule\\.lock$/"
] ]
}, },
"pep621": {
"managerFilePatterns": [
"/^pyproject\\.toml$/"
]
},
"pre-commit": { "pre-commit": {
"enabled": true, "enabled": true,
"managerFilePatterns": [ "managerFilePatterns": [
@@ -210,6 +216,36 @@
"pre-commit" "pre-commit"
], ],
"groupName": "pre-commit hooks" "groupName": "pre-commit hooks"
},
{
"description": "requires-python in pyproject.toml is the floor ruff formats for, not a pin: never updated by the bot.",
"matchManagers": [
"pep621"
],
"matchDepTypes": [
"requires-python"
],
"enabled": false
},
{
"description": "No lock file maintenance for uv.lock: scripts/check_uv_lock.py refuses any change to a package other than apm-cli, so a person refreshes uv.lock by hand.",
"matchManagers": [
"pep621"
],
"matchUpdateTypes": [
"lockFileMaintenance"
],
"enabled": false
},
{
"description": "apm-cli (pyproject.toml and uv.lock) gets its own pull request, never automerged: CI never runs apm, so a green run says nothing about a new version. Placed last so no rule above turns automerge back on.",
"matchManagers": [
"pep621"
],
"matchPackageNames": [
"apm-cli"
],
"automerge": false
} }
], ],
"lockFileMaintenance": { "lockFileMaintenance": {