Skip to content

repo: protect main and require the validate check #3

Open

Description

@TMHSDigital

gh api repos/TMHSDigital/Free-Game-Dev-Assets/branches/main/protection returns 404 and there are no rulesets. Every catalog rule lives in validate.mjs, but nothing stops a push that fails it.

Suggested:

  • A ruleset on main requiring the validate status check (for PRs, at least; allow the owner to bypass if direct pushes are the workflow).
  • Enable "Automatically delete head branches" (deleteBranchOnMerge is currently false).

Activity

  1. TMHSDigital commented on Sep 26, 2026

    @TMHSDigital
    OwnerAuthor

    Deferred by the maintainer on 2026-09-26: direct pushes to main stay the workflow for now. The validate check now runs on every push and every PR (#1, merged in #49), so a failing push shows up immediately even without a ruleset.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions