From 3d2fab53886188cca4851eadfa34c2202071a166 Mon Sep 17 00:00:00 2001 From: Defame1297 Date: Fri, 27 Nov 2026 13:37:49 +0000 Subject: [PATCH 1/2] docs: update a branch from main only when it is next to merge main blocks an outdated branch, so every update re-runs Lint, Build and Molecule and cancels the run in progress. Limit updates to the pull request that is next to merge, schedule its merge afterwards, and leave renovate/ branches to Renovate's own rebase. Assisted-by: Claude Code:claude-opus-5-5 --- docs/contributing/making-a-change.md | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/docs/contributing/making-a-change.md b/docs/contributing/making-a-change.md index 3772e0d..4849e4b 100644 --- a/docs/contributing/making-a-change.md +++ b/docs/contributing/making-a-change.md @@ -15,10 +15,19 @@ trailers, are in [ai-assistance.md](ai-assistance.md). *Reason:* every change reaches `main` through the Lint and Build checks and a reviewer. *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 - your own.** Updating a branch from `main` with Gitea's update button is allowed. + your own.** Updating a branch from `main` with Gitea's update button is allowed under the next + rule. *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. *Held by:* aspirational. +- **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 + scheduled merge; merge anyone else's as [reviewing.md](reviewing.md) says. Never update a + `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 + a new head cancels the run in progress; an update made while another pull request merges first is + wasted. + *Held by:* aspirational. - **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.** *Reason:* those routes skip the templates, and an agent's built-in body leaves out what review needs. -- 2.43.0 From 699179674fdbad1d056daaa8ba40e28aa7de00f6 Mon Sep 17 00:00:00 2001 From: Defame1297 Date: Fri, 27 Nov 2026 13:45:55 +0000 Subject: [PATCH 2/2] docs: bring a renovate/ branch up to date through its rebase checkbox 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 --- docs/contributing/making-a-change.md | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/docs/contributing/making-a-change.md b/docs/contributing/making-a-change.md index 4849e4b..fc74cbc 100644 --- a/docs/contributing/making-a-change.md +++ b/docs/contributing/making-a-change.md @@ -16,18 +16,22 @@ trailers, are in [ai-assistance.md](ai-assistance.md). *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 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 commit on a `renovate/` branch makes Renovate stop rebasing it. *Held by:* aspirational. - **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 - scheduled merge; merge anyone else's as [reviewing.md](reviewing.md) says. Never update a - `renovate/` branch: Renovate rebases its branches that fall behind `main` at its next run.** + scheduled merge; merge anyone else's as [reviewing.md](reviewing.md) says.** *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 wasted. *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/`, 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. -- 2.43.0