docs: bring a renovate/ branch up to date through its rebase checkbox
Build / build (pull_request) Successful in 1m19s
Lint / lint (pull_request) Successful in 3m38s
Molecule / molecule (pull_request) Successful in 2m37s

A Renovate pull request is not always rebased just for falling
behind main, so forbidding every update would leave it stuck. Never
use the update button on it; tick the rebase/retry checkbox instead,
and say why a hand-made update commit is excluded.

Assisted-by: Claude Code:claude-opus-5-5
This commit is contained in:
Defame1297 committed 2026-11-27 13:45:55 +00:00
1 parent 3d2fab5388
commit 699179674f
1 file changed
+7 -3
+7 -3
View File
@@ -16,18 +16,22 @@ trailers, are in [ai-assistance.md](ai-assistance.md).
*Held by:* control: branch protection on `main`. *Held by:* control: branch protection on `main`.
- **Do not push to someone else's branch or to a bot's branch; put your change in a pull request of - **Do not push to someone else's branch or to a bot's branch; put your change in a pull request of
your own.** Updating a branch from `main` with Gitea's update button is allowed under the next your own.** Updating a branch from `main` with Gitea's update button is allowed under the next
rule. two rules.
*Reason:* a push changes a head its author already reviewed or scheduled to merge, and a hand-made *Reason:* a push changes a head its author already reviewed or scheduled to merge, and a hand-made
commit on a `renovate/` branch makes Renovate stop rebasing it. commit on a `renovate/` branch makes Renovate stop rebasing it.
*Held by:* aspirational. *Held by:* aspirational.
- **Update a pull request's branch from `main` only when it is next to merge: reviewed, green on its - **Update a pull request's branch from `main` only when it is next to merge: reviewed, green on its
previous head, and the only branch being updated. After updating your own pull request, give it a previous head, and the only branch being updated. After updating your own pull request, give it a
scheduled merge; merge anyone else's as [reviewing.md](reviewing.md) says. Never update a scheduled merge; merge anyone else's as [reviewing.md](reviewing.md) says.**
`renovate/` branch: Renovate rebases its branches that fall behind `main` at its next run.**
*Reason:* `main` blocks an outdated branch, so every update re-runs Lint, Build and Molecule, and *Reason:* `main` blocks an outdated branch, so every update re-runs Lint, Build and Molecule, and
a new head cancels the run in progress; an update made while another pull request merges first is a new head cancels the run in progress; an update made while another pull request merges first is
wasted. wasted.
*Held by:* aspirational. *Held by:* aspirational.
- **Never press the update button on a `renovate/` branch. When a Renovate pull request is next to
merge and behind `main`, tick the rebase/retry checkbox in its description; Renovate rebases it at
its next run.**
*Reason:* the update button adds a hand-made commit, and Renovate stops rebasing that branch.
*Held by:* aspirational.
- **File an issue or open a pull request with the headings of the matching template in `.gitea/`, - **File an issue or open a pull request with the headings of the matching template in `.gitea/`,
also when you file through the API, `tea` or an MCP server.** also when you file through the API, `tea` or an MCP server.**
*Reason:* those routes skip the templates, and an agent's built-in body leaves out what review needs. *Reason:* those routes skip the templates, and an agent's built-in body leaves out what review needs.