Config validation: add a job to lint.yml that runs renovate-config-validator --strict renovate.json in the Renovate image already pinned in renovate.yml (same tag and digest). It runs on every pull request, unconditionally, so it can be a required check. The ci image does not get Node.
Self-bump: let Renovate propose updates to its own image in renovate.yml:
Replace the rule that disables it.renovate.json already has a rule with matchFileNames: [".gitea/workflows/renovate.yml"] and "enabled": false ("hand-bumped, never by the bot"). Later rules do not re-enable a disabled file, so a new rule added next to it would detect nothing and the self-bump would never happen. Replace that enabled: false rule with the weekly rule below; do not add a second one.
First check whether a built-in manager already reads .gitea/workflows/renovate.yml's image: (run renovate --platform=local). If none does, add a regex custom manager.
The weekly rule for renovate/renovate: schedule weekly, minimumReleaseAge: "3 days", automerge: false, majors manual. Its description is at most two short sentences: why, plus how when it isn't obvious. Keep the security reason in it: the Renovate job container runs with the job token, so a bump is never automerged.
check_bot_pr_diff.py must accept that bump (it is a version-plus-digest line). Today it refuses renovate.yml (its allowed workflow files are image.yml, lint.yml, build.yml and molecule.yml), so extend it for the image: tag and digest line of renovate.yml only, and test both the accepted line and a refused other change to that file.
Update the comment or doc that says to check config syntax with renovate --platform=local: syntax is now checked in CI; the local run remains for behaviour changes.
Acceptance
The validator job passes on main's renovate.json, and a deliberately invalid key fails it (checked locally, not committed).
A local Renovate run shows a proposed update for the image in renovate.yml, not only a detected renovate/renovate dependency, scheduled weekly.
Lint and Build are green.
The PR says what was verified and what was not.
Spec: [Enforcement map for each prose-only rule](https://git.rkdr.net/Mortis/Kamino/issues/102), resolution comment, rows "Renovate's own image" and "New controls".
## What
- **Config validation:** add a job to `lint.yml` that runs `renovate-config-validator --strict renovate.json` in the Renovate image already pinned in `renovate.yml` (same tag and digest). It runs on every pull request, unconditionally, so it can be a required check. The ci image does not get Node.
- **Self-bump:** let Renovate propose updates to its own image in `renovate.yml`:
- **Replace the rule that disables it.** `renovate.json` already has a rule with `matchFileNames: [".gitea/workflows/renovate.yml"]` and `"enabled": false` ("hand-bumped, never by the bot"). Later rules do not re-enable a disabled file, so a new rule added next to it would detect nothing and the self-bump would never happen. Replace that `enabled: false` rule with the weekly rule below; do not add a second one.
- First check whether a built-in manager already reads `.gitea/workflows/renovate.yml`'s `image:` (run `renovate --platform=local`). If none does, add a regex custom manager.
- The weekly rule for `renovate/renovate`: `schedule` weekly, `minimumReleaseAge: "3 days"`, `automerge: false`, majors manual. Its description is at most two short sentences: why, plus how when it isn't obvious. Keep the security reason in it: the Renovate job container runs with the job token, so a bump is never automerged.
- `check_bot_pr_diff.py` must accept that bump (it is a version-plus-digest line). Today it refuses `renovate.yml` (its allowed workflow files are `image.yml`, `lint.yml`, `build.yml` and `molecule.yml`), so extend it for the `image:` tag and digest line of `renovate.yml` only, and test both the accepted line and a refused other change to that file.
- Update the comment or doc that says to check config syntax with `renovate --platform=local`: syntax is now checked in CI; the local run remains for behaviour changes.
## Acceptance
- [ ] The validator job passes on `main`'s `renovate.json`, and a deliberately invalid key fails it (checked locally, not committed).
- [ ] A local Renovate run shows a proposed update for the image in `renovate.yml`, not only a detected `renovate/renovate` dependency, scheduled weekly.
- [ ] Lint and Build are green.
- [ ] The PR says what was verified and what was not.
Review of the map (2026-11-15): corrections to this issue.
The self-bump is switched off today, and this issue does not say to switch it on. The issue only adds a packageRule for renovate/renovate. But renovate.json:114-120 already has a rule with matchFileNames: [".gitea/workflows/renovate.yml"] and "enabled": false ("hand-bumped, never by the bot"). Later rules do not re-enable a disabled file, so the new rule would detect nothing and the self-bump would silently never happen. Change: replace that enabled: false rule with the weekly rule (minimumReleaseAge: "3 days", automerge: false, majors manual). Keep its security reason in the new description: the Renovate job container runs with the job token. Acceptance: the local Renovate run shows a proposed update for the image in renovate.yml, not only a detected dependency.
Review of the map (2026-11-15): corrections to this issue.
- **The self-bump is switched off today, and this issue does not say to switch it on.** The issue only adds a packageRule for `renovate/renovate`. But `renovate.json:114-120` already has a rule with `matchFileNames: [".gitea/workflows/renovate.yml"]` and `"enabled": false` ("hand-bumped, never by the bot"). Later rules do not re-enable a disabled file, so the new rule would detect nothing and the self-bump would silently never happen. Change: replace that `enabled: false` rule with the weekly rule (`minimumReleaseAge: "3 days"`, `automerge: false`, majors manual). Keep its security reason in the new description: the Renovate job container runs with the job token. Acceptance: the local Renovate run shows a proposed update for the image in `renovate.yml`, not only a detected dependency.
- **Two other issues still treat `renovate.yml` as disabled.** [ci(deps): run Renovate on push to main, state the own-image wait, shorten rule descriptions](https://git.rkdr.net/Mortis/Kamino/issues/172) keeps "`renovate.yml`" in its unchanged exception list, and [Re-evaluate Renovate's never-automerge exceptions once the push trigger is live](https://git.rkdr.net/Mortis/Kamino/issues/173) lists "`renovate.yml` (disabled for Renovate)". Both get a matching note. This issue owns the change from "disabled" to "proposed weekly, never automerged".
Final validation round, second pass (2026-11-20): body edited.
Folded in the review comment of 2026-11-15: the existing enabled: false rule for .gitea/workflows/renovate.yml is REPLACED by the weekly rule (a second rule would detect nothing); its description keeps the job-token reason.
Acceptance now asks for a proposed update in a local run, not only a detected dependency.
scripts/check_bot_pr_diff.py item made concrete (verified: its allowed workflow files today are image.yml, lint.yml, build.yml, molecule.yml, so it refuses renovate.yml): extend it for the image: line only and test both cases. The comment above did not say this; it follows from the body's own "must accept that bump".
The comment above stays as history.
Final validation round, second pass (2026-11-20): body edited.
- Folded in the review comment of 2026-11-15: the existing `enabled: false` rule for `.gitea/workflows/renovate.yml` is REPLACED by the weekly rule (a second rule would detect nothing); its description keeps the job-token reason.
- Acceptance now asks for a proposed update in a local run, not only a detected dependency.
- `scripts/check_bot_pr_diff.py` item made concrete (verified: its allowed workflow files today are `image.yml`, `lint.yml`, `build.yml`, `molecule.yml`, so it refuses `renovate.yml`): extend it for the `image:` line only and test both cases. The comment above did not say this; it follows from the body's own "must accept that bump".
- The comment above stays as history.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Spec: Enforcement map for each prose-only rule, resolution comment, rows "Renovate's own image" and "New controls".
What
lint.ymlthat runsrenovate-config-validator --strict renovate.jsonin the Renovate image already pinned inrenovate.yml(same tag and digest). It runs on every pull request, unconditionally, so it can be a required check. The ci image does not get Node.renovate.yml:renovate.jsonalready has a rule withmatchFileNames: [".gitea/workflows/renovate.yml"]and"enabled": false("hand-bumped, never by the bot"). Later rules do not re-enable a disabled file, so a new rule added next to it would detect nothing and the self-bump would never happen. Replace thatenabled: falserule with the weekly rule below; do not add a second one..gitea/workflows/renovate.yml'simage:(runrenovate --platform=local). If none does, add a regex custom manager.renovate/renovate:scheduleweekly,minimumReleaseAge: "3 days",automerge: false, majors manual. Its description is at most two short sentences: why, plus how when it isn't obvious. Keep the security reason in it: the Renovate job container runs with the job token, so a bump is never automerged.check_bot_pr_diff.pymust accept that bump (it is a version-plus-digest line). Today it refusesrenovate.yml(its allowed workflow files areimage.yml,lint.yml,build.ymlandmolecule.yml), so extend it for theimage:tag and digest line ofrenovate.ymlonly, and test both the accepted line and a refused other change to that file.renovate --platform=local: syntax is now checked in CI; the local run remains for behaviour changes.Acceptance
main'srenovate.json, and a deliberately invalid key fails it (checked locally, not committed).renovate.yml, not only a detectedrenovate/renovatedependency, scheduled weekly.Review of the map (2026-11-15): corrections to this issue.
renovate/renovate. Butrenovate.json:114-120already has a rule withmatchFileNames: [".gitea/workflows/renovate.yml"]and"enabled": false("hand-bumped, never by the bot"). Later rules do not re-enable a disabled file, so the new rule would detect nothing and the self-bump would silently never happen. Change: replace thatenabled: falserule with the weekly rule (minimumReleaseAge: "3 days",automerge: false, majors manual). Keep its security reason in the new description: the Renovate job container runs with the job token. Acceptance: the local Renovate run shows a proposed update for the image inrenovate.yml, not only a detected dependency.renovate.ymlas disabled. ci(deps): run Renovate on push to main, state the own-image wait, shorten rule descriptions keeps "renovate.yml" in its unchanged exception list, and Re-evaluate Renovate's never-automerge exceptions once the push trigger is live lists "renovate.yml(disabled for Renovate)". Both get a matching note. This issue owns the change from "disabled" to "proposed weekly, never automerged".Final validation round, second pass (2026-11-20): body edited.
enabled: falserule for.gitea/workflows/renovate.ymlis REPLACED by the weekly rule (a second rule would detect nothing); its description keeps the job-token reason.scripts/check_bot_pr_diff.pyitem made concrete (verified: its allowed workflow files today areimage.yml,lint.yml,build.yml,molecule.yml, so it refusesrenovate.yml): extend it for theimage:line only and test both cases. The comment above did not say this; it follows from the body's own "must accept that bump".