2 hours ago · Tech · hide · 0 comments

When contributors raise PRs to Renovate, there are times where they'll merge main into their PR while they're waiting for a merge. Because we use a Merge Queue, we don't necessarily need this - as maintainers we'll manually merge main into a PR if we think it needs it, but it's mostly a case of waiting for the Merge Queue to handle it. Although we have a label that we add if we notice the author of a PR is merging main in - unnecessarily - we'll add a label which adds an automated nudge to say "you don't need to keep doing this", but are also making some tweaks in our contribution guidelines to make this clearer. As one way to reduce the updating of PRs, we disabled - at a repo level - the Always suggest updating pull request branches setting, which removes the UI button. However, that then means that a maintainer can't then merge the branch in from the UI - so we need another way to do so. Fortunately the GitHub API has an API for this, which means that updating a PR is as simple as:…

No comments yet. Log in to reply on the Fediverse. Comments will appear here.