Skip to content

feat(org): ruleset for the read-only split repos of message-broker - #5

Merged
michal-giergielewicz merged 1 commit into
mainfrom
split-mirrors-ruleset
Nov 23, 2026
Merged

michal-giergielewicz merged 1 commit into
mainfrom
split-mirrors-ruleset

Conversation

@michal-giergielewicz

Copy link
Copy Markdown
Contributor

The release workflow of freyr/message-broker mirrors each adapter folder to a read-only split repo (message-broker-storage-postgresql, -transport-amqp, -webhook-http, -ratelimit-redis). The org ruleset main requires a pull request and has no bypass, so it would block that push.

  • org/rulesets/main.json excludes the four split repos by name.
  • org/rulesets/split-mirrors.json (new) blocks update, deletion and force push on the default branch of the four split repos; the release App is the only bypass.
  • org/apply.sh activate also activates split-mirrors.
  • README.md lists the new ruleset.

After the merge, an org admin runs RELEASE_APP_ID=<id> org/apply.sh rulesets and then org/apply.sh activate.

Check: both JSON files parse (json.load), bash -n org/apply.sh passes.

The release workflow of freyr/message-broker mirrors each adapter folder
to a read-only split repo. The org ruleset "main" requires a pull request
and has no bypass, so it would block that push.

- main.json excludes the four split repos by name.
- split-mirrors.json (new) blocks update, deletion and force push on the
  default branch of the four split repos; the release App is the only
  bypass.
- apply.sh activate also activates split-mirrors.
- README lists the new ruleset.
@michal-giergielewicz
michal-giergielewicz enabled auto-merge (squash) November 23, 2026 21:05
@michal-giergielewicz
michal-giergielewicz merged commit 15c9dd4 into main Nov 23, 2026
6 checks passed
@michal-giergielewicz
michal-giergielewicz deleted the split-mirrors-ruleset branch November 23, 2026 21:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant