Skip to content

FAILED: Repository Linter Issue: rl-branch_protection #128

@sap-repository-linter

Description

@sap-repository-linter

A violation against the SAP Open Source standards have been detected.

Rule: rl-branch_protection

*Message: Default branch 'main' protection is incomplete. Missing or incorrectly configured controls:

  • Require pull request before merging
  • Require at least 1 approval
  • Dismiss stale pull request approvals when new commits are pushed
  • Require approval of the most recent reviewable push
  • Require conversation resolution before merging

Protection method detected: Rulesets*

Description: Checks if the default branch is protected with either classic branch protection rules or rulesets. Verifies that mandatory security controls are enabled: pull request requirement, minimum 1 approval, dismiss stale reviews, review of latest push, conversation resolution, force push blocking, and deletion restrictions.

Documentation

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions