Skip to content

FAILED: Repository Linter Issue: rl-branch_protection #56

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:

  • 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: Both rulesets and classic branch protection

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

    needs-triageNew issue, not yet reviewed

    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