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.