Skip to content

repo: protect main and require the validate check #3

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

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