Repository navigation
Add minimal GitHub ruleset configs - #4
Merged
Merged
Conversation
kiwidream
marked this pull request as ready for review
June 25, 2026 13:49
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.
Summary
public-main-minimalrules from Add minimal GitHub ruleset configs qbit-libbitcoinpqc#2Validation
jq empty .github/repository-settings.json .github/rulesets/public-main-minimal.jsonc79a1cf0e1728bb381cfe5805383b976d1ce6558c79a1cf0e1728bb381cfe5805383b976d1ce6558Need help on this PR? Tag
/codesmithwith what you need. Autofix is disabled.Note
Low Risk
Only adds GitHub policy JSON; no runtime, auth, or application code changes.
Overview
Adds declarative GitHub configuration under
.github/so merge behavior andmainprotection can be applied consistently (aligned withpublic-main-minimalfrom Qbit-Org/qbit-libbitcoinpqc#2)..github/repository-settings.jsonturns off merge commits and keeps squash and rebase merges enabled..github/rulesets/public-main-minimal.jsondefines an active ruleset onrefs/heads/main: blocks branch deletion and non–fast-forward updates, requires linear history, and enforces PR rules—one approval, last-push approval, stale review dismissal, resolved review threads, and merge via squash or rebase only. Org admins can bypass.Reviewed by Cursor Bugbot for commit dfa0dfe. Bugbot is set up for automated code reviews on this repo. Configure here.