• 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
external_status_check_spec.rb 4.75 KB