Skip to content

[G.O.R.E]: Default branch and/or protection policy is invalid #7

Description

@asos-g-o-r-e

This repository has a invalid default branch or branch protection policy. Please update the default branch and/or branch protection policy with the below rules to close this issue.

See rules.yaml for more detail on the rules in our GitHub policy.

Protection of the default branch should be configured using repository rulesets. See Converting to GitHub repository rulesets for how to convert this repository. The following must then be satisfied:

  1. Approvals ruleset is missing. Create a ruleset named Approvals with a pull_request rule targeting ~DEFAULT_BRANCH and enforcement set to active.
  2. Main CI ruleset is missing. Create a ruleset named Main CI with a non_fast_forward rule targeting ~DEFAULT_BRANCH and enforcement set to active.
  3. alternatively, classic branch protection on the default branch is accepted for this repository in place of the rulesets above, provided it requires at least one approving review, requires conversation resolution before merging, and does not allow force pushes.

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions