Skip to content

Repository host: enable protection/ruleset for main #28

Open

Description

@sanskarIN

Why this exists

The final 2026-08-19 repository audit confirms that GitHub currently reports main as not protected. The source repository already documents the intended policy in docs/development/BRANCH_PROTECTION.md, but branch/ruleset enforcement is a GitHub-host administrative setting and cannot be enabled through the repository connector used for the final audit.

This is not a missing Finora application feature. It is the remaining repository-host governance action.

Required configuration

Create a GitHub ruleset or branch protection rule targeting main and enable:

  • require a pull request before merging;
  • require status checks to pass before merging;
  • require the branch to be up to date when appropriate for the configured checks;
  • require conversation resolution;
  • block force pushes;
  • block branch deletion;
  • keep bypass access minimal and intentional.

For a solo-maintainer repository, the approving-review count may remain zero while PR and required-check enforcement remains enabled.

Core checks to require

Use the exact check contexts GitHub reports from a recent successful PR for:

  • Finora CI;
  • CodeQL;
  • Dependency Review;
  • Repository release readiness.

Do not make path-filtered or workflow-dispatch-only checks universally required unless every PR can produce them.

Verification before closing

  • main is reported as protected or covered by an active ruleset.
  • A direct push that violates policy is rejected.
  • A failing required check blocks merge.
  • Conversation-resolution enforcement works.
  • Force push is blocked.
  • Branch deletion is blocked.
  • Any bypass owner is intentional and minimal.
  • The exact enabled policy/evidence is recorded in docs/development/BRANCH_PROTECTION.md or the release evidence documentation.

Reference: docs/development/BRANCH_PROTECTION.md.

Activity

  1. self-assigned this
    on Aug 19, 2026
  2. sanskarIN commented on Aug 26, 2026

    @sanskarIN
    OwnerAuthor

    2026-08-26 continuation audit: repository source remains on Finora 0.2.0 (build 2), schema 2, with the previously verified 319/319 automated + four-target source-build evidence still anchored to its exact recorded candidate. The only currently open repository issue found by this audit is this host-level main-branch protection action. I also opened issue #31 to track the 0.3.0 quality/release-hardening follow-through. This issue should remain open until GitHub itself confirms the ruleset/protection and the documented blocking checks are tested.

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions