Repository navigation
feat(org): ruleset for the read-only split repos of message-broker - #5
Merged
Merged
Conversation
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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
mainrequires a pull request and has no bypass, so it would block that push.org/rulesets/main.jsonexcludes 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 activatealso activatessplit-mirrors.README.mdlists the new ruleset.After the merge, an org admin runs
RELEASE_APP_ID=<id> org/apply.sh rulesetsand thenorg/apply.sh activate.Check: both JSON files parse (
json.load),bash -n org/apply.shpasses.