Skip to content

Add minimal GitHub ruleset configs - #4

Merged
kiwidream merged 1 commit into
0.1.1from
minimal-squash-rebase-rules
Jun 25, 2026
Merged

kiwidream merged 1 commit into
0.1.1from
minimal-squash-rebase-rules

Conversation

@kiwidream

@kiwidream kiwidream commented Jun 25, 2026 •

Copy link
Copy Markdown
Member

Summary

Validation


View with Codesmith Autofix with Codesmith
Need help on this PR? Tag /codesmith with 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 and main protection can be applied consistently (aligned with public-main-minimal from Qbit-Org/qbit-libbitcoinpqc#2).

.github/repository-settings.json turns off merge commits and keeps squash and rebase merges enabled.

.github/rulesets/public-main-minimal.json defines an active ruleset on refs/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.

@kiwidream
kiwidream marked this pull request as ready for review June 25, 2026 13:49
@kiwidream
kiwidream merged commit 7dc2093 into 0.1.1 Jun 25, 2026
5 checks passed
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