Skip to content

bug: absence of requires_last_push_approval not handled correctly #674

Description

@AlexanderLanin

When a repo rulesets required_pull_request does not have requires_last_push_approval there is no validation error or planning error. When applied there is a super cryptic error message: Error for key require_last_push_approval: 'requires_last_push_approval'

Secondary bug which makes this one hard to spot: requires_last_push_approval does not show up in plan/diff outputs.

Example where error was encountered, note that the second diff does not show requires_last_push_approval was removed.
eclipse-score/.eclipsefdn#190

Example where the error was (hopefully) fixed (not merged yet), and again no diff output: eclipse-score/.eclipsefdn#200

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    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