renovate: its pull requests merge themselves and note themselves, hold what is no update #88

Merged
mikluko merged 3 commits from renovate-tidy into main 2026-11-16 10:32:57 +00:00
Owner

Renovate's pull requests in this repository now merge themselves on green checks, and none cuts a release. Built on what mikluko/kuberex already does with this Renovate (platform forgejo, allowedCommands ^go tool changelog (append|release) , roomcity in the filter): nothing changes in saraksh/kube.

Automerge. automerge: true with platformAutomerge: false: Renovate merges on a run that finds every check green; Forgejo's own automerge is not used, since with no required checks on the branch it may merge before they finish, and Renovate promises only of its own. Squash. The bot's rights are the ones it has (it opens the pull requests); there is no branch protection to arrange. Held back from it: majors as a class stay enabled and open as pull requests, with their note and automerge: false, so that someone reads them. Disabled are only the updates with a written reason, each beside its rule in the description field of renovate.json: connect v2 and goldmark v2 (a new module path that is work of its own: a bare require nothing imports is no update), github.com/afrase/acp-go (does not build with claudeacp, to be replaced by spec-bb1.38) and the go directive (it moves with the Dockerfile's Go, by hand). The gc digest in the Dockerfile has automerge: false: its pull request opens, notes itself and is read (the owner).

The note, with no release. postUpgradeTasks runs go tool changelog append -section=Changed -note 'Updated: <dep> <version>[, ...].' on the branch, so each pull request carries its own line under [Unreleased], written by Renovate, naming no version: the release workflow acts only on a newest entry that names a version with no tag, so a merge cannot release. The note is in single quotes with no backtick (a shell would run it). go tool changelog is the tool of go.mod added here (sarak.sh/mikluko/changelog/v2, the kuberex way, with constraints.golang the exact Go of go.mod so that Renovate does not look Go up on GitHub); a move of the tool itself has no note and merges like the rest. Two bumps merged in turn both add a line at the end of ### Changed: the second conflicts with the first, and Renovate rebases a conflicted branch from the base and runs the task again, so the note is made anew on the new base; no hand. The changelog check does not need a note of a pull request (it passes the pull requests that have none), so this is the owner's "make the notes" and not a requirement.

Before it merges I could not run Renovate against Forgejo: the config passes renovate-config-validator --strict, the note's template renders as above with Handlebars for one, two and a digest update, and the command makes the line in CHANGELOG.md when run by hand. How the first pull request merges itself is seen after this lands: #34 and #59 are the first.

Also in this branch from before: postUpdateOptions: ["gomodTidy"], the rules for acp-go and goldmark v2.

Renovate's pull requests in this repository now merge themselves on green checks, and none cuts a release. Built on what mikluko/kuberex already does with this Renovate (platform forgejo, `allowedCommands` `^go tool changelog (append|release) `, roomcity in the filter): nothing changes in saraksh/kube. **Automerge.** `automerge: true` with `platformAutomerge: false`: Renovate merges on a run that finds every check green; Forgejo's own automerge is not used, since with no required checks on the branch it may merge before they finish, and Renovate promises only of its own. Squash. The bot's rights are the ones it has (it opens the pull requests); there is no branch protection to arrange. Held back from it: majors as a class stay enabled and open as pull requests, with their note and `automerge: false`, so that someone reads them. Disabled are only the updates with a written reason, each beside its rule in the `description` field of renovate.json: connect v2 and goldmark v2 (a new module path that is work of its own: a bare require nothing imports is no update), `github.com/afrase/acp-go` (does not build with claudeacp, to be replaced by spec-bb1.38) and the `go` directive (it moves with the Dockerfile's Go, by hand). The gc digest in the Dockerfile has `automerge: false`: its pull request opens, notes itself and is read (the owner). **The note, with no release.** `postUpgradeTasks` runs `go tool changelog append -section=Changed -note 'Updated: <dep> <version>[, ...].'` on the branch, so each pull request carries its own line under `[Unreleased]`, written by Renovate, naming no version: the release workflow acts only on a newest entry that names a version with no tag, so a merge cannot release. The note is in single quotes with no backtick (a shell would run it). `go tool changelog` is the `tool` of go.mod added here (`sarak.sh/mikluko/changelog/v2`, the kuberex way, with `constraints.golang` the exact Go of go.mod so that Renovate does not look Go up on GitHub); a move of the tool itself has no note and merges like the rest. Two bumps merged in turn both add a line at the end of `### Changed`: the second conflicts with the first, and Renovate rebases a conflicted branch from the base and runs the task again, so the note is made anew on the new base; no hand. The `changelog` check does not need a note of a pull request (it passes the pull requests that have none), so this is the owner's "make the notes" and not a requirement. **Before it merges** I could not run Renovate against Forgejo: the config passes `renovate-config-validator --strict`, the note's template renders as above with Handlebars for one, two and a digest update, and the command makes the line in CHANGELOG.md when run by hand. How the first pull request merges itself is seen after this lands: #34 and #59 are the first. Also in this branch from before: `postUpdateOptions: ["gomodTidy"]`, the rules for acp-go and goldmark v2.
renovate: tidy go.mod after an update, and hold acp-go until it is replaced
Some checks failed
test / changelog (pull_request) Successful in 8s
test / go (pull_request) Has been cancelled
8ecc85dc66
Assisted-By: Claude <noreply@anthropic.com>
renovate: hold goldmark's v2, which is a rewrite of what we use
All checks were successful
test / changelog (pull_request) Successful in 3s
test / go (pull_request) Successful in 2m11s
25801f8a07
Assisted-By: Claude <noreply@anthropic.com>
renovate: its pull requests merge themselves on green checks and note themselves under Unreleased
All checks were successful
image / image (pull_request) Successful in 21s
test / changelog (pull_request) Successful in 5s
test / go (pull_request) Successful in 1m57s
0ed153c48c
Assisted-By: Claude <noreply@anthropic.com>
mikluko changed title from renovate: tidy go.mod after an update, and hold acp-go until it is replaced to renovate: its pull requests merge themselves and note themselves, hold what is no update 2026-11-16 10:27:13 +00:00
Author
Owner

Read at 0ed153c, against the coordinator's three questions. The file is valid, go.mod is tidy, and the changelog command, run by hand in a copy, puts the line at the end of ### Changed under Unreleased and names no version.

What the bot can do to main without a human, with this file: merge a minor, patch or digest update of a direct Go module once every check is green, and nothing else. enabledManagers is gomod and custom.regex, so Renovate proposes no update of an action, of a workflow or of the Dockerfile's other pins, and a pull request of its own never changes the checks it is merged on; the one custom pattern is gc's, which is held. A self-merged pull request cannot name a version: the command is append, its text is fixed but for the module paths (this repository's own) and the versions (a Go module's version or a commit's hex, neither of which can hold a quote), and the release workflow finds nothing due in an entry under Unreleased.

One thing I do not pass, and it is for the owner more than for the author. go tool changelog is built from this repository's go.mod, on the branch Renovate has just updated, in Renovate's pod, before any check has run and before anyone has read the update. The tool's build has github.com/yuin/goldmark in it, a direct requirement that Renovate updates (the first pull request to merge itself would be #34, goldmark 1.8.7), and golang.org/x/crypto, x/net, x/sys and go-git, which move when something that needs them newer moves. So a release of any of those runs as code beside the forge token of the bot, which can push to every repository it serves, the cluster's among them, with no branch protected. Renovate without this task downloads modules and runs none of them.

The note can be had without that: run the tool at a version of its own, go run sarak.sh/mikluko/changelog/v2/cmd/changelog@v2.2.0 append ..., which builds from the tool's own go.mod and takes nothing from the branch; the tool then need not be a tool of this module, and its thirteen indirect requirements leave go.mod. It needs the allowed command in saraksh/kube's Renovate changed to match, and kuberex has the same exposure today. Until the owner says which he wants, this waits.

Small: the description of the changelog tool's own rule says its move "merges itself on green checks like the others, though no check runs the tool"; with the above it would not be in go.mod at all.

Read at 0ed153c, against the coordinator's three questions. The file is valid, go.mod is tidy, and the changelog command, run by hand in a copy, puts the line at the end of `### Changed` under Unreleased and names no version. What the bot can do to main without a human, with this file: merge a minor, patch or digest update of a direct Go module once every check is green, and nothing else. `enabledManagers` is `gomod` and `custom.regex`, so Renovate proposes no update of an action, of a workflow or of the Dockerfile's other pins, and a pull request of its own never changes the checks it is merged on; the one custom pattern is gc's, which is held. A self-merged pull request cannot name a version: the command is `append`, its text is fixed but for the module paths (this repository's own) and the versions (a Go module's version or a commit's hex, neither of which can hold a quote), and the release workflow finds nothing due in an entry under Unreleased. One thing I do not pass, and it is for the owner more than for the author. `go tool changelog` is built from this repository's go.mod, on the branch Renovate has just updated, in Renovate's pod, before any check has run and before anyone has read the update. The tool's build has `github.com/yuin/goldmark` in it, a direct requirement that Renovate updates (the first pull request to merge itself would be #34, goldmark 1.8.7), and `golang.org/x/crypto`, `x/net`, `x/sys` and go-git, which move when something that needs them newer moves. So a release of any of those runs as code beside the forge token of the bot, which can push to every repository it serves, the cluster's among them, with no branch protected. Renovate without this task downloads modules and runs none of them. The note can be had without that: run the tool at a version of its own, `go run sarak.sh/mikluko/changelog/v2/cmd/changelog@v2.2.0 append ...`, which builds from the tool's own go.mod and takes nothing from the branch; the tool then need not be a `tool` of this module, and its thirteen indirect requirements leave go.mod. It needs the allowed command in saraksh/kube's Renovate changed to match, and kuberex has the same exposure today. Until the owner says which he wants, this waits. Small: the description of the changelog tool's own rule says its move "merges itself on green checks like the others, though no check runs the tool"; with the above it would not be in go.mod at all.
Author
Owner

Merged on the owner's word, relayed by the coordinator. He was given three ways (the tool run at a version of its own; go tool changelog as written here, with its cost named as a fresh release of a dependency running with the bot's token; no note by Renovate) and answered "Б. Приемлемо.": the command stays as it is.

So that the acceptance stands where the rule lives: the note's command is built from this repository's go.mod on the branch Renovate has just updated, in Renovate's pod, before any check and before anyone has read the update. Its build includes github.com/yuin/goldmark, which Renovate updates directly, and golang.org/x/crypto, x/net, x/sys and go-git behind it. A release of any of them runs as code beside the bot's forge token. Known and accepted, here as in kuberex.

Merged on the owner's word, relayed by the coordinator. He was given three ways (the tool run at a version of its own; `go tool changelog` as written here, with its cost named as a fresh release of a dependency running with the bot's token; no note by Renovate) and answered "Б. Приемлемо.": the command stays as it is. So that the acceptance stands where the rule lives: the note's command is built from this repository's go.mod on the branch Renovate has just updated, in Renovate's pod, before any check and before anyone has read the update. Its build includes `github.com/yuin/goldmark`, which Renovate updates directly, and `golang.org/x/crypto`, `x/net`, `x/sys` and go-git behind it. A release of any of them runs as code beside the bot's forge token. Known and accepted, here as in kuberex.
mikluko deleted branch renovate-tidy 2026-11-16 10:32:58 +00:00
Commenting is not possible because the repository is archived.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
mikluko/roomcity!88
No description provided.