Repository navigation
Description
Follow-up to #1 A-section.
The packaging GitHub deployment environment currently has:
required_reviewers:inureyes(1 user)prevent_self_review:falsecan_admins_bypass:true
This means the person who triggers a signing or homebrew-bump deployment can also self-approve it — which provides an "abort window" before the deployment proceeds, but is not a true 4-eyes gate. This was an intentional choice while release tooling was still being automated (see the follow-up note in #1 A-section).
Once the release pipeline is fully automated (manual signing/notarization no longer required, manual homebrew bump no longer required), this configuration should be hardened:
Tasks
- Decide on the release-manager pool (≥1 additional GitHub user beyond
inureyes) — discuss in this issue's comments before applying - Register the additional reviewer(s) at https://github.com/lablup/mlxcel/settings/environments/15464823920/edit → "Deployment protection rules" → "Required reviewers"
- Enable "Prevent self-review" so the trigger-er cannot self-approve
- (Optional) Disable
can_admins_bypassif org admins should not be able to skip the gate - Verify via:
Expected:
gh api repos/lablup/mlxcel/environments/packaging \ --jq '.protection_rules[] | select(.type == "required_reviewers") | {prevent_self_review, reviewer_count: (.reviewers | length)}'prevent_self_review: true,reviewer_count >= 2
Triggering conditions
Open this issue for action when all of the following are true:
- Release signing and notarization are non-interactive (no manual step inside the workflow)
- Homebrew formula bump runs end-to-end without manual intervention (verified after the first auto-bump from a real release)
- There is at least one additional release manager identified and reachable for approvals (otherwise enabling
prevent_self_reviewwould block legitimate releases)
Until all three are satisfied, keep the current 1-reviewer + self-approve configuration to avoid blocking releases on a missing second reviewer.
Refs
- Follows up on chore: complete OSS release rollout #1 A-section
- Current env config recorded in chore: complete OSS release rollout #1 A-section closing note
Activity
chore: add OSS security automation and community health files (#3)
chore: add OSS security automation and community health files (lablup#3)
fix(server): join model workers before the process exits (#2742)
inureyes commentedon Nov 22, 2026
Closing as not planned. The plan here no longer fits the current setup.
The
packagingenvironment has changed since this was filed: it now has only abranch_policyrule, with norequired_reviewersrule andcan_admins_bypass: true. The 1-reviewer self-approve gate this issue planned to tighten no longer exists.The third triggering condition is also unmet: there is still no second release manager to approve deployments, so enabling
prevent_self_reviewwould block every release. Releases are prepared as drafts and published by the maintainer, so the branch policy is the effective gate for now.If a second release manager joins, open a new issue against the configuration at that time.