Open
Labels
Stellar WaveIssue proposed for the Drips Stellar Wave programIssue proposed for the Drips Stellar Wave programpriority: highUrgent work with high project or security impactUrgent work with high project or security impactsecuritySecurity, supply-chain, and repository-hardening workSecurity, supply-chain, and repository-hardening work
Description
Why
The default main branch is currently unprotected. A mistaken direct push or force-push can bypass review and reintroduce unsafe history.
Scope
Create an active repository ruleset targeting the default branch.
Acceptance criteria
- Require changes through pull requests.
- Require at least one approving review and dismiss stale approvals after new pushes.
- Require the existing CI checks before merge.
- Block force pushes and branch deletion.
- Keep bypass access limited to the minimum required administrators.
- Record the final settings in a short screenshot or markdown note attached to this issue.
No source-code change is required.
Metadata
Metadata
Assignees
Labels
Stellar WaveIssue proposed for the Drips Stellar Wave programIssue proposed for the Drips Stellar Wave programpriority: highUrgent work with high project or security impactUrgent work with high project or security impactsecuritySecurity, supply-chain, and repository-hardening workSecurity, supply-chain, and repository-hardening work
Activity
MoscowDev commentedon Oct 21, 2026
@MoscowDev has applied to work on this issue as part of the Stellar Wave Program's 10th wave.
ℹ️ Repo Maintainers: To accept this application, review their application or assign @MoscowDev to this issue.
iorchirmyom-afk commentedon Oct 21, 2026
@iorchirmyom-afk has applied to work on this issue as part of the Stellar Wave Program's 10th wave.
ℹ️ Repo Maintainers: To accept this application, review their application or assign @iorchirmyom-afk to this issue.
Adediwura-dev commentedon Oct 21, 2026
@Adediwura-dev has applied to work on this issue as part of the Stellar Wave Program's 10th wave.
ℹ️ Repo Maintainers: To accept this application, review their application or assign @Adediwura-dev to this issue.
toyosi-14 commentedon Oct 21, 2026
@toyosi-14 has applied to work on this issue as part of the Stellar Wave Program's 10th wave.
ℹ️ Repo Maintainers: To accept this application, review their application or assign @toyosi-14 to this issue.
timo126 commentedon Oct 21, 2026
@timo126 has applied to work on this issue as part of the Stellar Wave Program's 10th wave.
ℹ️ Repo Maintainers: To accept this application, review their application or assign @timo126 to this issue.
drips-wave commentedon Oct 21, 2026
Congratulations, @timo126! 🎉 Your application was accepted by the repo's maintainers, and the issue is due on October 22, 2026.
🧑💻 @timo126: Please resolve the issue such that the repo's maintainers have enough time to review your contribution before the due date. You'll earn Points for completing the issue on-time, which will make you eligible for a share of the Stellar Wave Program's reward pool.
Warning
When opening a PR, please link it to this issue to ensure it gets tracked accurately. Points are awarded when this issue is marked as completed by the maintainer.
🤠 Repo maintainers: Please keep an eye on the contributor's progress and review their work before the due date. You can manage this issue, including adjusting its complexity and points, here.
🌊 Happy Wave 🌊
timo126 commentedon Oct 27, 2026
mainbranch protection — final settingsApplied as an active repository ruleset (verified via
GET /repos/timo126/sub-rosa-issue/rules/branches/main, which only returns rulesfrom rulesets with
active/evaluateenforcement).Protect main(ID25968240)branch/activeref_name.include = ["~DEFAULT_BRANCH"]→mainpull_requestrequired_approving_review_count: 1dismiss_stale_reviews_on_push: truerequired_status_checks:check,coverage,round-contract,webnon_fast_forwarddeletion[{ actor_type: "RepositoryRole", actor_id: 5, bypass_mode: "always" }]— repo admin onlyRequired-check contexts are the GitHub Actions job names.
Bindings checkandLine lengths checkboth name their jobcheck, and GitHub requires all runssharing a context to pass, so
checkcovers both.Docs link checkandEnvironment template checkare deliberately not required: they are scopedby
paths:and a path-filtered required check staysPending, which would blockunrelated PRs.
Bypass is a single actor — the repository admin role — so no user, team, app,
deploy key, or the
write/maintainroles can bypass it.Location: the ruleset is applied on
timo126/sub-rosa-issue, the only repositorywhere the automation account holds
admin(upstream reportspermissions.admin = falsefor the same token). The full recorded JSON and thegh apicommand to reproduce it upstream are indocs/BRANCH_PROTECTION.md.PR: #614
Ruleset page: https://github.com/timo126/sub-rosa-issue/rules/25968240