karsten / pagure-dist-git

Forked from pagure-dist-git 4 years ago
Clone

a99a426 Drop two early return statements that by-pass the check for PR only

Authored and Committed by pingou 4 years ago
    Drop two early return statements that by-pass the check for PR only
    
    Basically, we were returning True before we had a chance to check if
    the project allowed to direct commits vs enforcing a PR only workflow.
    RCM and releng are not concerned by this though.
    
    Fixes https://pagure.io/pagure/issue/4248
    
    Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
    
        
file modified
+7 -6