Skip to content

Protect main and release tags #3

Closed

Description

@cipherstash-agent

Parent

#1

What to build

Guard what every calling repository runs with the routine token. This is repository and organization settings work that needs an admin.

Acceptance criteria

  • main requires a pull request with at least one approving review before merging.
  • main requires signed commits.
  • Tags matching v* can be created, moved or deleted only by maintainers (a tag ruleset).
  • Force-pushes and deletion of main are blocked.

Blocked by


Generated by Claude Code

Activity

  1. cipherstash-agent commented on Nov 18, 2026

    @cipherstash-agent
    Author

    Checked through the rulesets API: main (default branch, active, no bypass) restricts deletions, blocks force pushes, requires signed commits, and requires a pull request with 1 approval, dismissing stale approvals on push. release tags (refs/tags/v*, active) restricts creation, update and deletion, with only the Maintain and Admin roles allowed to bypass.


    Generated by Claude Code

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions