Let merge-queue push to the default branch of every ci-go repository (MQ-8) #56

Merged
merge-queue merged 2 commits from mq-8-merge-queue-push into main 2026-12-01 00:43:34 -08:00
Owner

Work package: https://openproject.home.romaine.life/wp/MQ-8

Held: lands together with merge-queue's change that writes each user's go.mod/go.sum bump straight onto its default branch once a group-tested library lands (anvil stage 6a, RLMQ-6). Do not land on its own.

What it changes live

The default branch of each of the 92 go suite (ci-go) repositories goes from refusing every push to taking pushes from the Forgejo user merge-queue alone: enable_push false -> true, enable_push_whitelist false -> true, push_whitelist_usernames [] -> ["merge-queue"]. The plan is exactly that: 0 to add, 92 to change, 0 to destroy, each change those three attributes on a rule moved from listed to bumped.

Before, read live from this PR's first plan (a temporary output, removed again): all 92 had push off, no whitelisted users, teams or deploy keys, no signed-commit requirement and no protected file patterns, so no existing whitelist entry needed carrying over. Teams stay [] and deploy keys false, now written in.

Added

  • forgejo_branch_protection.bumped: the ci-go repositories' rules, the same suites and status contexts as before, with tofu owning who may push (a push setting made by hand there is undone by the next apply). Every other rule (signed commits, file patterns, reviews, merge/approval whitelists) stays ignored, as each repository has it.
  • 92 moved blocks from listed to bumped (moved takes no for_each), and the adopted-repository import split between the two resources.
  • local.forgejo_bump_pusher = "merge-queue", the one place the user is named (stage 8 renames it).

Left alone

  • forgejo_branch_protection.listed, now the 61 non-Go protected branches: unchanged, push settings still ignored. romaine-life/at keeps push on with deploy keys whitelisted; nelsong6/at-tmux keeps its stored (inactive, push off) whitelist entry nelson.
  • Topics, archiving, every other resource.

A repository that later gains or loses the go suite needs a moved block between the two resources, or the apply deletes its rule and creates it again (said in the file).

🤖 Generated with Claude Code

Work package: https://openproject.home.romaine.life/wp/MQ-8 Held: lands together with merge-queue's change that writes each user's go.mod/go.sum bump straight onto its default branch once a group-tested library lands (anvil stage 6a, RLMQ-6). Do not land on its own. ## What it changes live The default branch of each of the 92 go suite (`ci-go`) repositories goes from refusing every push to taking pushes from the Forgejo user `merge-queue` alone: `enable_push` false -> true, `enable_push_whitelist` false -> true, `push_whitelist_usernames` [] -> ["merge-queue"]. The plan is exactly that: 0 to add, 92 to change, 0 to destroy, each change those three attributes on a rule moved from `listed` to `bumped`. Before, read live from this PR's first plan (a temporary output, removed again): all 92 had push off, no whitelisted users, teams or deploy keys, no signed-commit requirement and no protected file patterns, so no existing whitelist entry needed carrying over. Teams stay [] and deploy keys false, now written in. ## Added - `forgejo_branch_protection.bumped`: the ci-go repositories' rules, the same suites and status contexts as before, with tofu owning who may push (a push setting made by hand there is undone by the next apply). Every other rule (signed commits, file patterns, reviews, merge/approval whitelists) stays ignored, as each repository has it. - 92 `moved` blocks from `listed` to `bumped` (`moved` takes no for_each), and the adopted-repository import split between the two resources. - `local.forgejo_bump_pusher = "merge-queue"`, the one place the user is named (stage 8 renames it). ## Left alone - `forgejo_branch_protection.listed`, now the 61 non-Go protected branches: unchanged, push settings still ignored. romaine-life/at keeps push on with deploy keys whitelisted; nelsong6/at-tmux keeps its stored (inactive, push off) whitelist entry `nelson`. - Topics, archiving, every other resource. A repository that later gains or loses the go suite needs a moved block between the two resources, or the apply deletes its rule and creates it again (said in the file). 🤖 Generated with [Claude Code](https://claude.com/claude-code)
Read the protected default branches' live push settings (MQ-8, temporary)
All checks were successful
Suite default / scope (pull_request) Successful in 5s
Suite tofu / scope (pull_request) Successful in 5s
Suite default / reused-checks (pull_request) Successful in 4s
Suite tofu / scope (push) Has been skipped
Suite tofu / check-plan (push) Has been skipped
Suite tofu / apply (push) Has been skipped
Suite tofu / reused-checks (push) Has been skipped
Checks / check-files (pull_request) Successful in 2s
Suite default / check-fetches (pull_request) Has been skipped
Suite default / check-rules (pull_request) Has been skipped
Suite default / check-logs (pull_request) Has been skipped
Suite tofu / apply (pull_request) Has been skipped
Suite tofu / check-plan (pull_request) Successful in 3m2s
Suite tofu / reused-checks (pull_request) Successful in 20s
ed0384998f
Let merge-queue push to the default branch of every ci-go repository (MQ-8)
All checks were successful
Suite tofu / scope (push) Has been skipped
Suite tofu / check-plan (push) Has been skipped
Suite tofu / apply (push) Has been skipped
Suite tofu / reused-checks (push) Has been skipped
Suite default / scope (pull_request) Successful in 19s
Checks / check-files (pull_request) Successful in 10s
Suite tofu / scope (pull_request) Successful in 21s
Suite default / check-fetches (pull_request) Has been skipped
Suite default / check-rules (pull_request) Has been skipped
Suite default / check-logs (pull_request) Has been skipped
Suite tofu / apply (pull_request) Has been skipped
Suite default / reused-checks (pull_request) Successful in 14s
Suite tofu / check-plan (pull_request) Successful in 4m2s
Suite tofu / reused-checks (pull_request) Successful in 19s
2964c0af6d
nelson force-pushed mq-8-merge-queue-push from 2964c0af6d
All checks were successful
Suite tofu / scope (push) Has been skipped
Suite tofu / check-plan (push) Has been skipped
Suite tofu / apply (push) Has been skipped
Suite tofu / reused-checks (push) Has been skipped
Suite default / scope (pull_request) Successful in 19s
Checks / check-files (pull_request) Successful in 10s
Suite tofu / scope (pull_request) Successful in 21s
Suite default / check-fetches (pull_request) Has been skipped
Suite default / check-rules (pull_request) Has been skipped
Suite default / check-logs (pull_request) Has been skipped
Suite tofu / apply (pull_request) Has been skipped
Suite default / reused-checks (pull_request) Successful in 14s
Suite tofu / check-plan (pull_request) Successful in 4m2s
Suite tofu / reused-checks (pull_request) Successful in 19s
to 3eece96ae4
All checks were successful
Suite tofu / scope (push) Has been skipped
Suite tofu / check-plan (push) Has been skipped
Suite tofu / apply (push) Has been skipped
Suite tofu / reused-checks (push) Has been skipped
Checks / check-files (pull_request) Successful in 3s
Suite default / scope (pull_request) Successful in 7s
Suite tofu / apply (pull_request) Has been skipped
Suite default / check-fetches (pull_request) Has been skipped
Suite default / check-rules (pull_request) Has been skipped
Suite default / check-logs (pull_request) Has been skipped
Suite tofu / scope (pull_request) Successful in 5s
Suite default / reused-checks (pull_request) Successful in 10s
Suite tofu / check-plan (pull_request) Successful in 4m1s
Suite tofu / reused-checks (pull_request) Successful in 26s
merge-queue landed on main
2026-12-01 00:05:10 -08:00
Compare
merge-queue deleted branch mq-8-merge-queue-push 2026-12-01 00:43:34 -08:00
Sign in to join this conversation.
No reviewers
No labels
queue
No milestone
No project
No assignees
1 participant
Notifications
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
romaine-life/infra-bootstrap!56
No description provided.