docs(renovate): state what holds Dockerfile automerge and the validator check
The dockerfile rule no longer claims the bump's own CI builds the new image: Images builds it only after the merge, and the pin-follow pull request's CI runs on it. The top-level description says code-owned files automerge only once a code owner approves. making-a-change.md quotes the full validator command and marks it a control only once Lint / renovate-config is a required check. The renovate.yml concurrency comment drops an unverified queueing claim. Refs: #172 Refs: #188 Assisted-by: Claude Code
This commit is contained in:
1 parent
9fb3cbd4fd
commit
fc62e2e110
3 files changed
+6
-6
No files matched your search
@@ -41,8 +41,7 @@ on: # yamllint disable-line rule:truthy
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
# Never two runs at once; a running one is not cancelled (it may be mid-push), and a burst of
|
||||
# pushes leaves at most one run waiting.
|
||||
# Never two runs at once; a running one is not cancelled (it may be mid-push).
|
||||
concurrency:
|
||||
group: renovate
|
||||
cancel-in-progress: false
|
||||
|
||||
@@ -111,8 +111,9 @@ records).
|
||||
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:* control for the syntax (Lint's `renovate-config` job runs `renovate-config-validator
|
||||
--strict`); review for the behaviour (`renovate.json` is under `CODEOWNERS`).
|
||||
*Held by:* for the syntax, Lint's `renovate-config` job (`renovate-config-validator --strict
|
||||
--no-global renovate.json`): a control once `Lint / renovate-config` is a required check, review
|
||||
until then; 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.
|
||||
|
||||
+2
-2
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
|
||||
"description": "Run by .gitea/workflows/renovate.yml: minor and patch updates automerge once scripts/check_bot_pr_diff.py and CI pass, while majors, vulnerability fixes (which skip the release-age wait) and the exceptions below stay manual. Updates open on Mondays (UTC) after a 3-day release age, and an update with no release timestamp gets no wait.",
|
||||
"description": "Run by .gitea/workflows/renovate.yml: minor and patch updates automerge once scripts/check_bot_pr_diff.py and CI pass, and those to code-owned files only once a code owner approves; majors, vulnerability fixes (which skip the release-age wait) and the exceptions below stay manual. Updates open on Mondays (UTC) after a 3-day release age, and an update with no release timestamp gets no wait.",
|
||||
"extends": [
|
||||
"config:recommended",
|
||||
":enablePreCommit"
|
||||
@@ -98,7 +98,7 @@
|
||||
],
|
||||
"packageRules": [
|
||||
{
|
||||
"description": "Dockerfile base-image bumps automerge once a code owner approves (images/** is in CODEOWNERS), after their own CI has built and run the new image. Placed first so the majors rule below still turns automerge off.",
|
||||
"description": "Dockerfile base-image bumps automerge once a code owner approves (images/** is in CODEOWNERS); the Images workflow builds the new image after the merge, and the pin-follow pull request's CI then runs on it. Placed first so the majors rule below still turns automerge off.",
|
||||
"matchManagers": [
|
||||
"dockerfile"
|
||||
],
|
||||
|
||||
Reference in new issue
Block a user