docs(contributing): point renovate.json syntax at Lint's validator job
Syntax is now checked by Lint's renovate-config job; a local renovate --platform=local run stays for behaviour changes. making-a-change.md also gains the two review-held rules for renovate.json: descriptions of at most two short sentences, and a test or check before an automerge exception. Refs: #172 Refs: #188 Assisted-by: Claude Code
This commit is contained in:
1 parent
936e253af0
commit
076546f91b
2 files changed
+15
-5
No files matched your search
@@ -107,5 +107,6 @@ renovate.json dependency automation
|
||||
- Changing a workflow: read [.gitea/workflows/AGENTS.md](.gitea/workflows/AGENTS.md) first.
|
||||
- Changing an image or an image-smoke scenario: read [images/AGENTS.md](images/AGENTS.md) first.
|
||||
- Before writing an ADR: read [docs/adr/AGENTS.md](docs/adr/AGENTS.md) first.
|
||||
- Before changing `renovate.json`: read its rule descriptions, and test with `renovate --platform=local`
|
||||
at the version in `.gitea/workflows/renovate.yml`.
|
||||
- Before changing `renovate.json`: read its rule descriptions. Lint's `renovate-config` job checks
|
||||
its syntax; test a behaviour change with `renovate --platform=local` at the version in
|
||||
`.gitea/workflows/renovate.yml`.
|
||||
@@ -107,8 +107,17 @@ limit), [.gitea/workflows/AGENTS.md](../../.gitea/workflows/AGENTS.md) (workflow
|
||||
bot-diff check `scripts/check_bot_pr_diff.py`) and [docs/adr/AGENTS.md](../adr/AGENTS.md) (decision
|
||||
records).
|
||||
|
||||
- **Test a change to `renovate.json` before the merge with `renovate --platform=local`** (the version
|
||||
in `.gitea/workflows/renovate.yml`), which reads your checkout.
|
||||
- **Test a change to how Renovate behaves before the merge with `renovate --platform=local`** (the
|
||||
version in `.gitea/workflows/renovate.yml`), which reads your checkout. Syntax needs no local run.
|
||||
*Reason:* a dry run in Actions (Run workflow with `dry_run=true`) reads `renovate.json` from `main`,
|
||||
so it cannot test a pull request's change.
|
||||
*Held by:* review (`renovate.json` is under `CODEOWNERS`).
|
||||
*Held by:* control for the syntax (Lint's `renovate-config` job runs `renovate-config-validator
|
||||
--strict`); review for the behaviour (`renovate.json` is under `CODEOWNERS`).
|
||||
- **Every description in `renovate.json` is at most two short sentences: why the rule exists, plus
|
||||
how it works when that is not obvious.** Investigation notes stay in the pull request.
|
||||
*Reason:* the descriptions are read on every change to the config, and notes age into noise.
|
||||
*Held by:* review.
|
||||
- **A broken unattended merge is fixed with a test or a check; an automerge exception is added only
|
||||
when no test can catch it, and its description names the failure it prevents.**
|
||||
*Reason:* an exception costs a manual review on every later update, a test does not.
|
||||
*Held by:* review.
|
||||
Reference in new issue
Block a user