• Max Woolf's avatar
    Do not allow status checks to exist with external protected branches · dd5d6c9d
    Max Woolf authored
    Previously it was possible to create or update an external
    status check with a protected branch of any project, including
    a private one.
    
    Adds a validation to external status check to enforce
    all external status checks to only contain protected
    branches from their projects.
    
    Changelog: security
    EE: true
    dd5d6c9d
status_checks_spec.rb 11.8 KB