You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[TASK] Align branch/tag rulesets with devkit and enable immutable releases #60
Align this repo's rulesets with devkit's live protection model and enable immutable releases, so the dev → release/X.Y.Z → main flow is mechanism-enforced end to end.
Current state vs devkit (live rulesets, compared 2026-07-14)
Ruleset
devkit
commit-action
Action
Main protection
PR + 1 approval + code-owner review + required check Test Summary, non-FF, no deletion, no bypass
PR, non-FF, no deletion — no required checks, no approval count, Integration bypass always
Add required checks (CI Summary, Dist Check), 1 approving review, thread resolution; remove the app bypass (releases land via a normally-merged PR; nothing needs to push main directly)
Dev protection
PR (0 approvals) + required check, app bypass
missing
Create — the app bypass is required for prepare-release's changelog-freeze commit to dev and the sync flow
Release protection (release/*)
PR (0 approvals) + required check, app bypass
missing
Create — bypass needed for release-branch creation and the finalize commit
Signed commits (~ALL)
required signatures
present
keep
Tag ruleset
none (policy via immutable releases + docs)
none
Create: deny tag create/update/delete for all actors, bypass = release app only. Covers release tags and makes future floating-tag moves (#62) app-exclusive
Also enable immutable releases in repo settings (devkit policy: a published Release locks its tag + assets; recovery is forward-fix, never tag rewrite).
Applied 2026-07-14. Live state: Dev protection (18922479), Release protection (18922485), Tag protection (18922488) created; Main protection (11211130) updated in place; Signed commits (11211135) untouched. Immutable releases: already {"enabled":true,"enforced_by_owner":true} at the org level — nothing to enable.
Deviations from the issue text, both deliberate:
Tag-ruleset bypass is vig-os-release-app (2930017), not the Integration id the issue implied.release-publish.yml pushes tags with the release-app token (release.yml passes secrets: inherit and no token secret exists, so the app-token fallback is what authenticates). Bypassing only commit-action-bot (2433383) would have blocked every release at the tag push.
require_code_owner_review: true is currently a no-op — .github/CODEOWNERS exists but every owner line is commented out. Kept true to mirror devkit; it activates if/when a real owner line (e.g. * @c-vigo) is added.
Known friction until vig-os/devkit#1045 ships: the deny-all tag ruleset also blocks manual floating-tag moves (v0, v0.2). Options when the next release needs them: temporarily disable Tag protection, or add a repository-admin bypass actor. Left as-is per this issue's stated design.
Reproducible request bodies (usable for sync-issues-action with the check contexts and app ids adjusted):
Activity
ci(dist): gate PRs and releases on a fresh dist/ bundle (#69)
c-vigo commentedon Jul 14, 2026
Applied 2026-07-14. Live state: Dev protection (18922479), Release protection (18922485), Tag protection (18922488) created; Main protection (11211130) updated in place; Signed commits (11211135) untouched. Immutable releases: already
{"enabled":true,"enforced_by_owner":true}at the org level — nothing to enable.Deviations from the issue text, both deliberate:
vig-os-release-app(2930017), not the Integration id the issue implied.release-publish.ymlpushes tags with the release-app token (release.ymlpassessecrets: inheritand notokensecret exists, so the app-token fallback is what authenticates). Bypassing onlycommit-action-bot(2433383) would have blocked every release at the tag push.require_code_owner_review: trueis currently a no-op —.github/CODEOWNERSexists but every owner line is commented out. Kepttrueto mirror devkit; it activates if/when a real owner line (e.g.* @c-vigo) is added.Known friction until vig-os/devkit#1045 ships: the deny-all tag ruleset also blocks manual floating-tag moves (
v0,v0.2). Options when the next release needs them: temporarily disable Tag protection, or add a repository-admin bypass actor. Left as-is per this issue's stated design.Reproducible request bodies (usable for
sync-issues-actionwith the check contexts and app ids adjusted):dev-protection.json
{ "name": "Dev protection", "target": "branch", "enforcement": "active", "conditions": { "ref_name": { "exclude": [], "include": ["refs/heads/dev"] } }, "rules": [ { "type": "non_fast_forward" }, { "type": "pull_request", "parameters": { "required_approving_review_count": 0, "dismiss_stale_reviews_on_push": false, "required_reviewers": [], "require_code_owner_review": true, "dismissal_restriction": { "enabled": false, "allowed_actors": [] }, "require_last_push_approval": false, "required_review_thread_resolution": true, "allowed_merge_methods": ["merge"] } }, { "type": "deletion" }, { "type": "required_status_checks", "parameters": { "strict_required_status_checks_policy": false, "do_not_enforce_on_create": false, "required_status_checks": [ { "context": "CI Summary", "integration_id": 15368 }, { "context": "Dist Check", "integration_id": 15368 } ] } } ], "bypass_actors": [ { "actor_id": 2433383, "actor_type": "Integration", "bypass_mode": "always" } ] }release-protection.json
{ "name": "Release protection", "target": "branch", "enforcement": "active", "conditions": { "ref_name": { "exclude": [], "include": ["refs/heads/release/*"] } }, "rules": [ { "type": "non_fast_forward" }, { "type": "pull_request", "parameters": { "required_approving_review_count": 0, "dismiss_stale_reviews_on_push": false, "required_reviewers": [], "require_code_owner_review": true, "dismissal_restriction": { "enabled": false, "allowed_actors": [] }, "require_last_push_approval": false, "required_review_thread_resolution": true, "allowed_merge_methods": ["merge"] } }, { "type": "required_status_checks", "parameters": { "strict_required_status_checks_policy": false, "do_not_enforce_on_create": false, "required_status_checks": [ { "context": "CI Summary", "integration_id": 15368 }, { "context": "Dist Check", "integration_id": 15368 } ] } } ], "bypass_actors": [ { "actor_id": 2433383, "actor_type": "Integration", "bypass_mode": "always" } ] }main-protection.json
{ "name": "Main protection", "target": "branch", "enforcement": "active", "conditions": { "ref_name": { "exclude": [], "include": ["refs/heads/main"] } }, "rules": [ { "type": "non_fast_forward" }, { "type": "pull_request", "parameters": { "required_approving_review_count": 1, "dismiss_stale_reviews_on_push": false, "required_reviewers": [], "require_code_owner_review": true, "dismissal_restriction": { "enabled": false, "allowed_actors": [] }, "require_last_push_approval": false, "required_review_thread_resolution": true, "allowed_merge_methods": ["merge"] } }, { "type": "required_signatures" }, { "type": "deletion" }, { "type": "required_status_checks", "parameters": { "strict_required_status_checks_policy": true, "do_not_enforce_on_create": false, "required_status_checks": [ { "context": "CI Summary", "integration_id": 15368 }, { "context": "Dist Check", "integration_id": 15368 } ] } } ], "bypass_actors": [] }tag-protection.json
{ "name": "Tag protection", "target": "tag", "enforcement": "active", "conditions": { "ref_name": { "exclude": [], "include": ["~ALL"] } }, "rules": [ { "type": "creation" }, { "type": "update" }, { "type": "deletion" } ], "bypass_actors": [ { "actor_id": 2930017, "actor_type": "Integration", "bypass_mode": "always" } ] }c-vigo commentedon Jul 14, 2026
All rulesets applied and verified live; details above.
ci: add temporary Dist Check bootstrap stub (#86)